When I think that it's time to stop breast feeding, I pump the milk less and less every other day. It hurts at the begining, but try to relax and don't think about it all the time. After around 2 weeks it stop producing by itself. But during the process, make sure you do not let your baby suck the milk out direct from you as it will only make you produce more.