how willl a hospital check for ectopic pregnancy

Will they do a scan straight away? I'm 5 weeks 4 days pregnant 
Help!!!!!