Try applying some Vicks Vapor Rub to your chest as I find that Vicks Vapor Rub helps to relieve my coughs.
Using a humidifier to add moisture to the air also helps and I also use some Vicks Vapor Rub with the humidifier which also helps.
You can also get rid of a cough by mixing some honey with some lemon juice or even honey with warm tea.