I agree with Sunshine that it could be acid reflux, but suggest you get in touch with your endo and let them know about. I’ve had that before and know it’s a scary thing. But like you when I sit up the pain was easied a bit. Good luck!