Ramipril use can lead to persistent, dry, or irritating cough. Usually, generic cough medicine cannot help reduce ramipril-induced cough. Consult your doctor in this case. In some patients, the cough resolves on its own. Generally, it disappears in 1–4 weeks after stopping ramipril use. However, it may take months to completely vanish in some patients.