Can I? 😫

Can I eat cold cooked gammon that we have left over from yesterday? I am 17 weeks pregnant and unsure if I’m aloud to eat this or not x