My sound is not working on my iPhone 4. I hear static coming from the speakers when but when I plug in my headphones the sound works. This happens at random times and I'm wondering why. And also, how can I prevent this from happening without taking a trip to the Apple store.