My 7th month old is on Medication

Cali☀️
My 7 month old has a really bad cold. It's been 7 days and it's not getting better so the dr put him on Prelone. Has anyone heard of this or had their child on it? I'm scared because I know little ones this age shouldn't take medication really.