Refurbished iPhone

I'm looking for an IPhone for my daughter have any of you bought a refurbished iPhone ? If so from where I'm so afraid I'll buy one and something will be wrong with it