Coughing when laying down

Patty

My daughter is 5 months old. Since she was born we couldn’t lay her flat when sleeping due to reflux. Now when we try to lay her flat she keeps coughing. Any idea why or what to do? She is not sick.