Options if you’re unable to produce milk?

Just curious some alternatives to breast feeding. I’m 35 weeks and have looked forward to breastfeeding since I got my bfp. My friend just had her baby 3 weeks ago and she isn’t producing enough milk for her. She’s tried body armor and oatmeal and all the dietary changes doctors recommended and now has to put her baby on formula. I didn’t want to apply for wic because I knew I wouldn’t be purchasing formula. Now I’m stressed because I’m thinking about what I’m supposed to do if that happens to me. Would I be able to apply for wic later if this happens or what are some alternatives.