I’m 7 weeks 2 days

My asthma has flared up since Sunday😥. I went to the ER yesterday and they just put some treatment but they said I can’t take my inhaler. I also had a doctors appointment today and was told the same thing because it can affect the baby. I’m so worried because I can’t really breath and when I do I cough a lot. If I don’t get enough oxygen imagine the baby😩. Anyone have asthma while pregnant?