Maternal Hydronephrosis

I had an ultrasound on April 5 and it showed I had Hydronephrosis on my right kidney. It really wasn’t bothering me or anything. My next appointment and ultrasound to follow up with it is this Friday. I’ll be 26 weeks tomorrow. Since last night I’ve been having terrible pain underneath my ribs on right my side that radiates towards my back hasn’t stopped and I still have it today. I laid on the heating pad and just woke up from a nap and still had the pain and also started having super sharp stabbing pains near my groin area also more located on the right. I just didn’t know if anyone has experienced this and what they recommend? I would call my doctors office but by the time I get a call back, it would be time for my appointment.