Beta blockers work by blocking the beta-adrenergic receptors in the heart and other parts of the body. This action prevents the effects of adrenaline (epinephrine) and noradrenaline (norepinephrine), which are responsible for the "fight or flight" response that increases heart rate and blood pressure. By inhibiting these effects, beta blockers help to improve heart function and reduce cardiovascular risk.