When did you get your first ultrasound?

Do you recommend getting an ultrasound before or after the first trimester? If I go before atleast 10 weeks and they can't find a heartbeat I will freak out. When do you think I should schedule my first ultrasound? I am 4 weeks and 4 days.