I had this problem when I first started diving. It ended up being acid reflux. I take zantac before diving, and haven't had a problem since.
Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.
Benefits of registering include
Scuba:[...]
Some of these meds can have side effects on some persons such as drowsiness, excitation, etc. which may not be suitable for diving. Also, different brands may use different medical compounds and you may find one works better for you than others.
[...]