Sharp pain

I’m 17+2 and I’ve had a sharp pain in my right side for a few hours now and it’s not going away. It only gets relieved if I lay down. Is this ok?