How many of you still rock your baby? If you dont how do you get your baby to sleep

I must confess I’m the mom who started rocking her baby to sleep and now that’s the only way he will fall asleep! I’m trying to break the habit but I can’t seem to get him to fall asleep any other way. Does anyone have any tricks?