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.
To pair an Apple Watch with your iPhone, you'll need to have the latest version of iOS installed on your iPhone.