Weaning tips

My son is 10 months and I want to start weaning him completely off the breast any one have tips on how to do it? I just dont want to get mastitis again so im scared to start the process.