Thanks for writing your query.
After reading your post, I would suggest that you should get yourself investigated for following :-
1. Urine examination.
It seems that you might be having an Urinary Tract
Medical management can be planned according to the reports of the above mentioned investigations.
You should avoid spicy foods and should drink lots of pure water daily.
I hope this is helpful to you.