You can use the ECG app on your Apple Watch to monitor your heart rate and detect irregularities, in which case you should notify your doctor.