Why is my headphone jack not working?

Everytime I put any kind of headphone in my phone it will either play from the phone speakers, freeze my phone (and the second I take the headphones out it unfreezes), or the whole phone shuts off and I have a hard time turning it back on. This is a problem because I'm constantly listening to music and now I can't. :( please help! Thanks.:thinking: