Nitrates work by relaxing smooth muscle in blood vessels via the production of nitric oxide. This leads to vasodilation and reduced preload and afterload, lowering oxygen demand on the heart. Common side effects include headaches and hypotension. Tolerance develops with chronic use and can be prevented through intermittent dosing schedules and adjunctive treatments that replenish nitric oxide stores. Nitrates are available in various oral, topical, and intravenous formulations for use in angina and heart failure.