Baby Formula

Does anyone have a clue what type of baby formula you're going to purchase? How does that stuff get figured out? I understand the formula might change if a baby has a reaction to it; however, what about before any issues comes up? Has anyone received any recommendations or good sites to look into?
Thank you!