What will happen to my baby if I took a cough remedy containing phenylephrine while pregnant?

Blood pressure rises. If a woman has high blood pressure, it can raise it higher and be dangerous.
OK if only rare. Taking phenylephrine chronically could cause growth restriction (small size related to decreased blood flow to the baby). Intermittent use doesn't hurt.