Crate training or getting a puppy pen teaches your puppy to stay in a space quietly playing or napping.
Puppy gates are helpful to keep new fur friends out of places you don’t want them to be.