Baby's heartbeat

When does your dr do a baby's heartbeat revision how many weeks ?