From history it seems that you might be having acute urinary tract infection
spreading to lower genital tract.
Go for one antibiotic medicine course.
Keep local part clean, dry and healthy.
Take plenty of water.
Clean local part with worm plane water while taking bath.
Ok and take care.