Milk allergy?

Just curious as to how you found out your little one has a milk allergy? My LO was diagnosed with reflux but in wondering if its something else