Thanks for writing yor query.
After reading your post, it seems that there is a possibility of Urinary Tract Infection
You should get yourself investigated for :-
1. Urine examination (Routine/Microscopic and Culture/Senstivity)
2. Complete Blood Count
3. Malaria Test
You can take paracetamol
500 mg for fever and mild bodyaches.
If the pain is severe, you can take pain killer like Ibuprofen one tablet twice a day after meals along with an antacid like Omeprazole
You should take any medicine after getting yourself examined medically and under medical supervision.
Drink lots of pure water.
I hope this is helpful to you.