Pain extending now 4 months after stent removal!

Hi, could anyone inform me what was the reason for this pain I had shock waves fo remove the stone in may 2025 and then I had blockage so I had a stent which I kept for I beleive 3 weeks and then when they tried to remove it the process took so long anf the ureter got swollen so they kept the stent another 3 weeks and I removed it on July 1st. In September I started having the same feeling as kidney stone. I told my doctor but he said this could be menstruation cramps. Then again on October I have crazy pain and my friend called me an ambulance. I had a CT scan and they said my kidneys are fine. Today I had this pain again and luckily I had tramadol so it help me to feel better. The pain comes with vomiting and I cant walk, it is also so painful to urinate. I will have an MRI in November and my doctor put me on pills because he thinks it is endometriosis but it is not