
I use crates for mine especially as pups .I wasn't sure if u meant a crate or a four side pen. Personally I prefer a crate so the dog can come and go and use the crate as it's den/ bed. Used carefully with positive training most actually like.them and can go on to use right through their life .with the door open once u consider pup is safe around the house.
Look up crate training as it needs to be done carefully so it becomes a positive experience and the pup ismt stressed
. At night I would suggest a one by your bed so pup knows u are there and u know if he needs to go.out when this mean two crates for a while of.course.
With the exception of one dog mine have always settled happily in their space and were also.fed in them
I've had toy breed , medium gundog breed a fcr and gsd. .it was one of the fcr who just didn't like being in a crate .mainly because she is such a velcro dog and nosey she wants to be with me all.the time
Baby gates are another useful tool too