First, why is this happening? When this happens to many dogs, the owner of the dog will be very worried about what happened to the dog. In fact, this situation is normal, and many dogs will have this situation when they are young. If the dog always whines in the middle of the night, it is likely that it is hungry or scared in a strange environment. Moreover, many puppies will bark all the time when they arrive at their new homes, and some are afraid that dogs will suddenly come into contact with the dark environment after the rat turns off the lights at night.
Second, what should I do if I encounter this situation? If the dog often whines in the middle of the night, the dog owner will spend more time with the dog in daily life. Or put the dog beside you when you sleep, giving the dog enough security. If the dog is hungry, you can put some food or water in the cage or where the dog sleeps. If the dog comes to a new home and suddenly feels scared before leaving, the dog owner can buy some soothing toys for the dog.
If the dog always urinates in the middle of the night, then the dog owner must train the dog to urinate correctly in daily life. You can guide the dog to find the bathroom, or use some props to help the dog urinate in the right place. Be patient with dogs. Don't always be mean when you see a dog like this. This will only make the dog more and more afraid. You can take your dog to the toilet more often. Over time, your dog will have a habit.