According to your sign and symptom you are suffering from obstructive sleep apnea .
Reason - Muscle of of the back of soft palate region are relax so during sleep this close the Respiratory tract and respiration close and due to that brain will not get proper oxygen and that stimulates nervous system and
You wake up during sleep and deep breathing start and that cause cough etc.
Next Steps
Reason - Excessive weight ,
smoking,
Older age.
Narrowed Airways,
High blood pressure,
Diabetes,
Chronic nasal congestion,
Family history and
Asthma.
You should take Consultation then correct diagnosis will be made and then treatment will be start easily.
Don't worry you will be well.
Health Tips
Please follow good life style as take plenty of fluid and take less spicy and fatty foods and do breathing exercise regularly with yoga and meditation and
keep positive attitude to fight any problem of your life.