If you have UTIs often, your health care provider may recommend taking an antibiotic more regularly. He or she may recommend taking:  A single dose after sex. 2 to 3 days' worth whenever you have symptoms. A course that lasts 6 months or longer.