Help!!! Gas in Back

Ki

Went to bed around 9 and just woke up to gas pains in the middle of back feeling nausea (which I struggle with any ways) and stomach hurts a little bit I feel like it’s all contributing to the gas like I can actually feel it in my back…any tips/ideas? I was able to go to the bathroom a little but struggling with constipation as well!!!