formula tolerance

Caitlin
How quick would you know if baby can't tolerate a formula? Does the formula pass thru them right away? I'm worried about stomach ache and hard time going to the bathroom