help with ip[hone 4

help i bought an iphone 4 for my 13 year old daughter and they said it was ontalktalk/lebara network but not recognising sim, how do i check what network its on, as cant get past the set up bit in the phone