What meds treat and prevent shingles. In severe cases patients may need to stay in the hospital for treatment. Your doctor can suggest over the counter medicines to relieve milder.