How to stop my iPhone5C from randomly playing music?

Quite often I will be at school and my iPhone will start randomly playing music, the music it plays sounds normal (not sped up or distorted) but it is really loud. The phone is only a couple months old and I haven't dropped it or anything. I even removed the controls from my lock screen, and I have a password set so it shouldn't be able to unlock itself. I do have the headphones plugged in and loosely wrapped around the phone, however, I do take care not to wrap them around the volume control on the side.

It's only a matter of time till a strict teacher hears it and takes my phone (for which my dad would kill me XP) so please if anyone could help that would be awesome.

Umm. Have you tried resetting it? (Power button and home for ten seconds)

I think you should reset your cell phone. Also remove the headphones as you are saying that you wrap them loosely around the phone. So do consider these two points and then check what happens.

  • Why does youtube randomly stop playing? I have an iPhone and I'll be in the app when the playlist (on loop) will randomly stop playing. It doesn't even show up as paused or loading it just completely stops playing without a reason
  • Why does my music stop playing when I go to my messages? I have an IPhone 4 and when I put music on and then go to my messages it stops playing. Why is it doing this?
  • My IPhone keeps randomly playing music by itself? I dropped it about 30mins ago and while answering questions on here, it kept playing Marilyn Manson songs by itself at different speeds without me pressing any buttons and wouldn't stop when I pressed pause until I kept pressing it for ages. After that it has come on and off another three times but it plays music really sped up D: is it broken?
  • My iPhone keeps randomly playing music? - 1 I have an iPhone 5 and recently I updated it to the IOS7. Today while I was on Netflix, Siri suddenly appeared and then I exited and music started playing. This is happening every 5 to 20 minutes. I tried turning my Siri off but voice control appears! I'm not clicking anything and I've never had this problem before. I also tried turning my phone off and on but my music still randomly played. What's going on and what can I do?