3G won't work on my iPhone 5s?

It says at the top of my phone that there's 3G but it won't connect to facebook, snapchat or anything else that needs internet! It works perfectly fine for my friend who has the same phone as me! Any suggestions for how to get it to work?

Install your carriers profile.