Check to see if you have turned on airplane mode accidentally . If so uncheck it . If it is on the phone will act just like you said.
open