Thanks for using HCM
Your severe pain
seems to be due to renal stones
as from your discription of pain, take plenty of fluid and citrus fruit juice, it helps to expel stone if its a smaller one, better to consult a nephrologist
for further management. Depending on size of stone, doctor advice
you surgery. Your pain will reduce. Get well soon.