For most babies, sleeping through the night doesn't come naturally. During pregnancy, they're used to being close to their mothers, hearing the sounds of her womb, and being gently lulled in and out of sleep. So learning how to sleep in the "real world," without being held or nursed, can be hard. Although all babies will eventually sleep through the night, there are gadgets to help babies fall asleep on their own that will get you there faster and be life-savers for both your sleep and your baby's.
As with all transitions, it's best to take it slow when it comes to your baby's sleep. You shouldn't force them to sleep through the night right away. But there are lots of things you can do to establish positive sleep associations, create routines, and slowly help them learn how to sleep on their own. These tools, in one way or another, are all aimed at helping your baby sleep better and longer at night, and by default, help you get more sleep too.
Whether your baby sleeps in bed with you, in a co-sleeper next to your bed, or in a crib in their own room, these tools will come in handy each night.