Thanks for the query to H.C.M. Forum.
Since you are a known case of gastritis
i.e.hyper acidity so take few steps to get rid of this as.
Try raising the head of your bed about 4 inches with blocks.It also might help to avoid eating or drinking for 2 hours before you lie down.
To help control the stomach acid, one should not drink alcohol or drinks with caffeine in them or eat chocolates or spicy or greasy foods. Also take some antacids, but ,if symptoms are severe as in your case then you may need drugs like proton pump
As you are feeling severe discomfort so please get in admission and take treatment .
Good luck. Dr. HET