iphone 3gs 8gb white ?

iphone 3gs 8gb white on 3 unlocked good condition small crack on the top of ithe screen i drped ttt, the phone stuck on itune i dont no how i restore the phone comes with box charger