To determine if the patient has angina, the health care provider may do several tests. An electrocardiogram, or EKG, is used to record heart rhythms.