Help !!

How do I get my son off the boob ?! He’s turned a year and I just can’t no more. He needs the boob to sleep at night and he nurses throughout the day but when I try not to give it to him he starts screaming like crazy and throwing himself and won’t stop crying till I give him what he wants ..