Breastfeeding tips?

I have a 10 month old that I tried to breastfeed. But it didn’t work. Tbh i don’t think I was doing something right. I would only get a oz on both sides. Any breastfeeding tips? Any thing I should to drinking or eating during pregnancy to help with milk supply? I am 10 weeks pregnant.