Small children don't mean to be, but they can be very rough on a young pup. Placing your pet in a crate is not a punishment, and if it is done properly, he will never associate it with being one. If your pet has an accident on the floor, scolding him and placing him in his crate is not going to solve the problem. This will only make him associate bad things with his crate. The reason he piddled on the floor in the first place is because he wasn't put outside on time.
Dogs thrive on routine, so keeping to a schedule is important.
To get your pup accustomed to his crate place a blanket and some of his toys inside, along with some food, water and treats. When your pet is not in his crate, leave the door open. You will notice that sometimes he will go in there on his own to sleep. Crates tend to be like dens, it's their own space to get away from everything. Once you begin to trust your pet further and he begins to learn as he grows older, then periods in the crate can become shorter, or even unnecessary.