What to do if I keep coughing up mucus, how do I make it stop?

Mucus. If not a smoker, it can be post nasal drip, but i would think allergies, verges bronchitis. You need to follow up with a pulmonologist.