How did you teach your baby to fall asleep on their own?

SoThankful

Nothing I’ve tried is working so far! 😫 For those of you whose babies fall asleep independently- how did you teach them to?