I am 36 weeks pregnant

Patient: I am 36 weeks pregnant. I recently had an ultrasound and no heartbeat was detected. What will happen next?

Doctor: