From history it seems that you are having Urinary tract infection
As you feel better with antibiotic, continue 2 days more this antibiotic.
This will help clearing vaginal infection
if it is there.
Keep local part clean and hygienic during period.
Take plenty of water.
Ok and take care.