What you are having are recurring bacterial infections. It may help if you use a condom and use the bathroom right after having intercourse. Washing off after is also a good idea. If men are uncircumcised, they should be cleansing their area with a little more detail then men who are circumcised but it is easy. All he has to do is retract the skin while he is showering, rinse with soap and water, and that's it--just make sure all the soap is gone. It's also important not to force the retraction-- if it doesn't retract easily, then he may want to see his doctor about this.
Stay clean and finish your medication. I hope this helps,