Propranolol works by decreasing the action of pacemaker cells and slowing certain impulses in the heart.