Breast feeding

lo
How long do must mothers breastfeed? Or if u breast feed how long did you do it.? I plan on breastfeeding but i also plan on getting a part time job so im kinda nervous.