I forget how old you are, but if you're around 18 you're in the "age window" where this is becoming kind of common.
Call your doc, or if you can't talk well enough, have someone else call.
Best wishes.
It could also be bronchitis. It would be best if you got in to see a Dr. You may need antibiotics.
I'm also coughing up green phlegm. in large amounts.
Please go see your doctor. Sounds like a infection in your lungs if your making noises when you inhaling .
Bump please help im 12 weeks