Help on breastfeeding!!! 😱😭

I have breast fed before (2 sons who are 9&10) and I did not produce enough milk. I had to switch to formula due to the babies losing weight. That coupled with my breasts hurting so bad and my nipples chafing and cracking I decided not to even attempt it this time around.
Β After thinking about my husbands horrible allergies and how often he seems to get sick(he was bottle fed/ I was breastfed), I thought maybe I should at least try for the first week or so. This scares the crap out of me because of the hard times I went through before. Any suggestions or help would be appreciated on how to at least be successful for a week or two. I also hope I'm making the right decision. I did see a lactation specialist the previous two pregnancies and that did not help.