To get rid of an allergy cough, you need to deal with the underlying allergies. You can do this by limiting your exposure to allergens or by taking a medication such as an antihistamine.