The best thing you can do is to work regularly on name response. Reward, reward, reward every time your pup responds to its name. Give it a treat so it associates hearing its name with coming to get a treat. Play the come game with the pup and your family have people in different rooms of the houes call the pup's name and reward it for coming to the one who called.
In addition to working on name response, I also establish a routine for going out so that they look for certain cues, like having their collar and leash, hearing their release word.
I have also worked with my youngsters by putting their collar and leash on, I open the door and if they rush out, I shut the door while I am still holding their leash so they can't go anywhere and then I make is sound like we are having a party inside without them. Since I have other dogs, I give them treats so when I open the door the one on the outside rushes in to see what they missed. Then I open the door again and repeat until they see the open door and look up and me looking for their "party" rather than running out.
Each of the three things have saved my dogs from harm. My front door didn't latch properly once and Nicky wouldn't cross the threshold because I wasn't there and his collar wasn't on. I have had leashes break when out on walks but my dogs have come to their names before they even realized they loose. My girl Rio accidently found herself on the wrongside of my front door when I was bringing in the groceries. I panicked when I couldn't find her, opened the front door expecting to have to search the neighborhood and there she was expecting her party. So in we came and she got her party for being such a good girl.