Food posioning?

I woke up at 4 am today had a very bad stomach ache and sweating... the pain comes and goes its really painful can it be food poisioning from last night? Should i be worried???