When my kids were very young and they wouldn’t sleep at night by themselves (which was a lot), my wife and I would worry about what we needed to do to get them to sleep a) in their cribs and b) through the night.
As is our way, we’d read articles and we’d read books on the different methods that are out there to ensure your child gets a sound night’s sleep. There was the Weissbluth Method (or leave your child in the room and let them cry themselves to sleep) versus the Ferber Method (same thing but you come back in the room periodically to console the crying child).