1yr old not feeling well.

Ma

My about to be 1yr old woke up this morning coughing up/throwing up what seems to be phlegm/mucus & has been sleeping all morning waking up for maybe max 20mins. Pediatrician said to keep an eye on her but I'm not sure if I should just take her to urgent care or let her rest & see how she does the rest of the day?

* She was perfectly fine yesterday & has been taking her bottle!

Thanks in advance for taking the time to respond some advice!