Breastfeeding

Nekela
I am 2 weeks away from my due date and i plan on breast feeding and i am completely confused lol when I'm ready to stop what to i do to make my body stop producing ? What is the purpose of freezing milk and how do i go about unfreezing when i need it again lol i really don't know what to do at all. Help ?