stomach virus VS pregnancy

Not really comparing the two, just coming down with a stomach bug right now and part of me is going "gasp are you sure we're not preg even tho we haven't had sex in a month?"
Anyone else go through this?