Hi everyone. Hoping for some non-judgey advice for this fuckwit of a first time puppy owner.
We have a 13 week Shih Tzu pup. I'm finding puppyhood a bit difficult, if I'm honest, but he is the most adorable thing I've ever clapped eyes on and we loves him!
Thing is, I have completely fucked up any kind of a bedtime routine and I'd really appreciate your help on where to go from here.
For the first few nights, he slept in a cardboard box made comfy with blankets, beside my bed. He whinged and whined a lot, despite being placed on the floor right beside my bed (to be expected, I know). After a few very restless nights I stupidly decided to put him on my bed. Cue some quality sleeps over the next few nights. I foolishly thought that he wasn't peeing the bed, as it felt dry in the mornings. The state of my duvet when I last changed my bedding told a different story 
So I then bought him a proper dog bed and again, put that beside my bed. Teddy has, quite understandably, decided that this arrangement isn't good enough and yelps to be allowed back on the bed. I keep placing him back in his dog bed, but this could easily be repeated all night long, as he's exceptionally stubborn.
Last night was hell on earth, as he was barking (yes, he has now found his voice) to be let up, my kids were feeling ill with temperatures and even when we all dropped off, my cat was miaowing to be let out. I nearly cried, it was such a low point.
Now, I can handle a healthy amount of sleep deprivation and it's to be expected. However, I live in a flat (main door, with its own garden etc) and I'm really worried/paranoid about the neighbours being kept awake. 
I don't know how to proceed. A part of me thinks fuck it, if he's not happy beside my bed then I ought to just put him in his crate in the hall at night (he hates this thing with a passion and sounds like he's being tortured whenever in it), and another part thinks fuck it, I'll just buy a waterproof topping for my bed! I also thought I could place his bed on top of mine but I know what he's like, and he'll want to be on the duvet. I know I ought to persist, but I'm a bit OCD about trying to be a considerate neighbour.
If there's anyone reading this who has a new puppy or is considering getting one, please let this be a lesson in being firm from the start. That said, my pup has separation anxiety like no other animal I've ever seen, but probably didn't have the ideal start in life with his breeder (another story).
Thank you so much for reading and (hopefully!) replying.