Sick baby

My LO used to be able to put himself to sleep at night and could self soothe back to sleep in the middle of the night. Well now he is sick and won’t sleep unless he is in my arms. When I do lay him down he wakes up 30 minutes later coughing. What can I do to help him sleep better? And will he be able to self soothe again when this sickness is gone.