How can I make weening from breastfeeding easier?

Maria

I'm a ftm and my son is 12 months. I'm having a hard time weening him off from breastfeeding. When he wants to nurse just out of comfort I would try to distract him and he would get angry or upset like he's having a tantrum.