Sick - is the baby ok?

I didnt eat much yesterday or the day before because i felt so sick and i feel like a little cramping in my stomach and slight pain/discomfort on the right or left side every once in a while. Is everything ok?