A psychologist can help patients who have had a heart attack by educating them about treatment compliance, healthy behaviors, and stress management while they are most receptive during hospitalization. They establish communication between the patient and family and conduct follow-ups to assess coping with recovery. Stress management techniques include exercise, relaxation, addressing difficult emotions, and developing adaptive thinking patterns.