Allowing the body to fast is probably actually doing something for the shingles.
Taking pills will interfere greatly with the fasting process.
The pills, are medication, they only mask symptoms of a problem. They don't actually fix anything. Fasting will.
By the way, all medications are drugs and all drugs are poison to the body.
So ingesting a poison during a Water Fast is definitely counterproductive in many ways.