Sometimes, women need medicine for a few days or a couple of weeks to treat a problem like a bladder infection or strep throat. Other women need to use medicine to control long-term health problems.