How do you tell if its food poisoning or due to pregnancy?

Not sure what dpo I am (didnt track) I know I'm on cd21.

For the past 3 days I've had punchy (slight burning) sensations in my ovaries and slight back pain, today Hubby and I had lunch around 2pm, around 7.30pm I took a nice long bath, as soon as I got out I was so nauseous u couldn't get dressed, sat by the toilet and threw up my lunch (sorry disgusting I know)

Just not sure how to tell if it's from the lunch we had or possible pregnancy symptom??