Maybe you can help

So lately for the past week I been having sharp pain in my stomach. I been stressed out from my relationship and work and lately I finally been calm.

The pain feels sharp and it doesn’t last long at all and it’s feels hot sometimes too( like it’s in the middle of my stomach I feel like) i took a pregnancy test and it came out negative and I been getting my period on time so could it be gas.?