Work and sickness

Need some advice girls, I woke up 4 hours before my shift started this afternoon having worked the night before, and spent an hour constantly throwing up so i rang in sick which I know was abit late as they only have 3 hours to find cover for my shift but I couldn't ring in any earlier as I was asleep and not being sick. I'm now sat here an emotional sicky mess because they had ago at me and hung up so I'm scared I could lose my job, I haven't had much time off sick since being pregnant, only the odd few days when I've been too sick to be of any use at work. I work with food and running to be sick and then going to serve customers doesn't look good. Could they possibly fire me over this as people have said because I'm pregnant it would be discrimination