should i call my obgyn?

ive been having the worst stomach pain for 2 hours.. its my whole stomach tightening and ive thrown up and had diarrhea at the same when the pain comes and i get super hot and sweaty. idk if a pregnancy thing or something else. should i call?