Ending bottle help

Hello, how did you get your toddlers off of bottles? Mine refuses to try to sleep without one and cries for a long time if I don’t give him a bottle. Do I just let him cry until he passes out? Idk what to do.