baby cough.

My LO is 24 weeks and has a cough :(
It's gotten worse since last night and now he's having trouble sleeping because of it.. he wakes up coughing and sometimes doesn't want to go back to sleep.. what can I do to help him and to make the cough go away?? How long will the cough last??