It works by relaxing blood vessels and slowing heart rate, which improves blood flow and lowers blood pressure. Metoprolol can also improve the likelihood of survival after a heart attack. Doctors prescribe the long-acting form of the drug (Toprol XL) to treat heart failure.