Baby cough

Dylan
My baby is 2 months old. About a week ago she had a slight cough and her pediatrician said it's just seasonal allergies and not t worry about it. Now it's 2am and seem to have just gotten worse; she has coughed her head off all night and keeps getting chocked up/ gasps for air after coughing so hard. What should I do?