What do you think this is

I have a pain in the right side of my pelvis more towards my thigh . It feel better when I massage it and it also hurts on that same side just on my back . Doesn’t hurt to pee . My boyfriend thinks I pulled a muscle . Anyone ever experience this before ?

Also it feels better after I take meds .