What should I do if the dog I just bought keeps barking at night?
A dog is a spiritual animal. It left its original home and went to a strange place. Not used to it. Especially at night, it feels more lonely and misses its original owner and partner. So it keeps calling, expressing its feelings. It's okay. You should be patient with it, play with it more, establish feelings with it as soon as possible, let it get rid of strangeness and stop barking slowly.