Hi, many thanks for the query! Avoid eating spicy food, avoid alcohol (if consuming) & also avoid late night meals. You need to do- USG (Abdo-Pelvis), X-ray KUB, Stool (R/M), RFT, CBC, Urine (R/M). Your pain may be renal stone related, can be confirmed with above investigations. Till then take antispasmodics, pain killers, antacids, stool softners with your doctor s opinion. Drink plenty of water so that at least 2 litres of urine is voided in 24 hrs. Wish you a good health. Take care. Regards.