It might be stones or it might be a urinary tract infection that has spread to the bladder
and to the kidneys, or it might be the endometriosis
. But you won't know unless you get checked and get tested, so see the doctor promptly. Ibuprofen
helps pain, but might mask a fever
, so please get checked.