You can’t take your pet with you to bed at the very beginning, otherwise then you will not wean him from sleeping in your bed. The dog needs to know where it belongs. If the dachshund whines, you cannot be provoked.