Pregnant ? Or change in diet ?

So I have been really gassy the last three days. I have been having pain in my stomach . I am ovulating maybe that is why. Have any of you ladies been very gassy before pregnancy ?