What will help this pain!?

Ni
My lower stomach hurts on my right side and my ribs hurt. I'm drinking water I ate ok today. It's kind of a sharp pain but then it goes away but now it's back :( help and my SO puts pressure on my stomach and it helps I just don't get it 😥