Upset belly

I have had a dodgy belly the last few days on and off but last night was really bad stomach pain and diareha I haven't been getting sick and I can keep food and water down but getting some cramping now should I be concerned, I dont know if I'm just overly stressing as this time last year I miscarried due to really bad food poisoning