Breastfeeding

Okay so with my first born i only breastfed him for about a month and a half. When i had him i didnt know how to breastfeed so i guess i was doing it wrong and there was pain, bleeding nipples, swollen, boobs got milk ducts clogged like hell. Even when i got home my boobs hurted like hell i would cry everytime my son would wake up because i had to feed him. As soon as i finally was able to go home from the hospital, 2 days later i got bottles and would pump so my breast could heal faster. Well long story short he got used to the bottle and didn't want to feed directly from my breast anymore and i didn't have time to pump all day and so my milk kept going down. I ended up giving him formula. I tried to get my milk back for a while but it just didn't work and he wouldn't latch, he would look at me weird lol. I am now expecting and idk what to do about breastfeeding because i wish i could have breastfed my son wayyy longer than i did and i obviously want to breastfeed my upcoming child but i don't think it would be fair for my next child to be breastfed longer and my oldest just for a little bit. I don't know if i should do it a month and a half like with my son or just do it until whatever reason i stop or have to stop but a longer time? Im kinda thinking in giving my son my breastmilk as well like in a bottle to not feel so bad but idk. He is 1 yr right now and im due dec. What should i do?