Dayquil?

My doctor has DayQuil listed on medications that are safe to take during pregnancy but now that I’ve already taken it I’m reading it isn’t safe. I know I can’t undo the 3 doses I’ve already taken but I’m just wondering what have your doctors said about taking it?