Coughing in a dream could represent some sort of expelling. You could either be telling someone what isn’t right, or want to expel something that is not right, or want to expel something pent up for awhile.
Dreaming about coughing stems from stress or tension in your waking life. It can imply that you are feeling an imbalance in body and mind, or that you need a change in your habits.