Hygeine (not wiping front to back, etc) may be an issue. Urinating before and after intercourse helps to decrease risk of uti. Cranberry juice
and increasing water intake may help prevent bacteria
from sticking to the bladder wall. Recurrence may indicate anatomical or medical (diabetes
, etc) problems and warrant a work up.