If the dog is trained correctly, the crate becomes his indoor dog house or den. It will be his favorite place to sleep and to eat. Since it mimics the den, the pet can feel that he is safe in the crate.
It is important that you do not force your pet into a crate. The more your force the pet into the crate, the more they will hate the crate and you will both be miserable.
The crate should be in a room where you spend a lot of time with he pet.