vomiting blood

i’m 17 weeks pregnant & in the early stages i had really bad morning sickness up until about 13 weeks & i lost 8lbs. ever since i was 13 weeks i’ve probs threw up once every week but i’ve just woke up now and vomited what looks like blood?

is this normal in pregnancy? or has this happened to anyone else. it’s the first time its happened to me