bacteria infection....

What is the best over the counter medicine for a bacterial infection? I can't go to the doctor because I don't have insurance. it's been 3 weeks and I still have an odor... plus yellow discharge. I've had a bacterial infection before and it's just annoying