Pain☹️

So me and my boyfriend had sex like a week ago. And at first there wasn’t pain but then my right side hip? Started hurting. And the pain wasn’t that painful it was a little bit so i didnt mind it. But then it hurt more and more. And so we stopped. Then today we have sex but the pain was still there. Is that bad? Do i need to go check it out? Bc this is the first time.