Baby heartbeat

I'm jus curious. Maybe A bit worried. I jus found out I'm pregnant. I'm 13 weeks now. N my dr said good heart beat. How do they know that?? I'm jus worried because I would've taken prenatals if I knew early. I'm past the first trimester.