Teaching baby to sleep

jpsa
Hey ladies! 
I'm still nursing my one year old to sleep every night. My question is how did you teach your baby to sleep without nursing? Did you have to quit nursing all together? Thanks!