Advice on breastfeeding while pregnant?

Baby will turn 1yr in May. I always wanted her to self wean and potentially make it to 2years. Idk what to do. I still want to nourish my baby.