When did your toddler stop nursing to nap/sleep?

👪💖

My son is 18 months and he cannot fall asleep without nursing. He only breastfeeds twice; once for nap and once for sleep. I really would like to stop, but I don’t know how. Sometimes he cries in the middle of the night and the only thing he wants is to nurse. It’s really tiring. Advice? Thankyou :)