Can gas pain cause the amount of nausea I was in also? It felt like my intestines were about to rip...

As of now, I have to use the restroom, and I'm getting intestinal pains everytime my body reminds me that I have to go, but because I grew so nauseated last time, I really don't want to use the restroom. (Besides, I did go yesterday and there shouldn't be a reason to go again...)