Lopressor is primarily used to treat high blood pressure (hypertension), stable angina (chest pain), and to improve survival after a heart attack. It belongs to a class of drugs known as beta-blockers, which work by blocking the effects of certain chemicals in the body, such as epinephrine, on the heart and blood vessels.