Uses: This medication is used to prevent certain types of chest pain (angina). It may allow you to exercise more and decrease the frequency of angina attacks. Nifedipine belongs to a class of medications known as calcium channel blockers. It works by relaxing blood vessels so blood can flow more easily. This medication must be taken regularly to be effective. It should not be used to treat attacks of chest pain when they occur. Use other medications (such as sublingual nitroglycerin) to relieve attacks of chest pain as directed by your doctor. Consult your doctor or pharmacist for details.