My iPhone 5 keeps saying no service?

Since yesterday my phone says no service but I'm able to use Internet when connected to Wi-Fi at home. When I ring someone the service comes back on but this only last for about a minute:/. I can't text anyone:/. Any ideas of what it could be?

Look in your settings and make sure cellular data is turned on.

Have you paid your phone bill? Did you drop your phone and damage your antenna? Did you even get it activated? Is your SIM card correct? Did you buy the wrong iPhone for your type of service (Example: You bought a Verizon phone, but your phone carrier is AT&T).It sounds like there's a problem with your phone service, not the phone itself. You'll need to go to your local Sprint/AT&T/Verizon store and have them take a look at this.