Breast pump 101? Help

I’m 21 weeks and I would like to breastfeed and pump...I have no idea about any of this. Do I have to only use the bottles that specifically come with the bump or can any bottle attach to it?