^ Read Gina Ford.^
Yes, this, but it is essential your baby reads it too, or it's unlikely to work.
Honestly, there is nothing you can do other than manage your expectations about sleep. Sleep is a developmental skill - you can no more influence it than you can the ability to walk. Some babies acquire the skill to sleep for long stretches, separate from a caregiver from weeks old, some babies/children are unable to do this until years old. Assume that sleep will be an absolute roller-coaster until 2.5/3yo and you will have a far easier and pleasanter life than if you're hanging about waiting for that first elusive 'sleep through the night', which may happen once, then never again for another five months.
Parents who follow/recommend routines and swear by them got lucky - they either got a baby who is a natural sleeper, or they got a baby whose natural routine happened to follow the one they thought they were imposing. Parents of good sleepers who think it was their marvellous parenting don't get a very friendly reception on the sleep boards/threads here, and do tend to reduce me to swearing and abuse.
My first was a terrible, terrible sleeper - awake every 90mins to 2hours for the first 18mo of his life. I thought it was all my fault so by the time my second was born, I knew every, every strategy, routine, trick, method, you name it going to 'create good sleep habits', and even spoke with the sleep consultant I ended up using with DS1 to make sure I was prepared. He ended up being exactly the same as my first, despite my following 'good sleep habits' from day one.
They're now 5yo and 3yo and sleep brilliantly in their own rooms, in their own beds. Those early years of hideous sleep deprivation are a distant, if painful, memory.
The only sleep 'rule' I do set store by is day time napping, mainly because your baby is far pleasanter and less clingy when awake if they've napped well - as a newborn for example, they should not be awake for any longer than 45 minutes. Awake time gradually lengthens as they get older. Get them asleep any which way you can after the appropriate awake time and, if sleeping on you is the best way of keeping them asleep, then park up and have box sets ready. Trying to force either of mine into a cot was one of the biggest, sleep-stealing mistakes I made.
Have a Google of 'baby awake times napping' or similar, but try to only look at awake times. Ignore how long they 'should' be napping for or how long they 'should' be sleeping in unbroken stretches for at night. That way madness lies.
Good luck, because that's all it is!