I would suggest seeing a doctor if you're really worried or it does not subside. Perhaps take a note of when it happens and what you have eaten during
the day or night, how you're lying in bed or what time of the month it is (ie in relation to your cycle) as this info might help the doctors find out what is causing the onset of this problem. In the meantime, have you tried chewing on some indigestion/heartburn
tablets (like 'Rennie') for eg? They are great for this type of pain relief.