Squealing / whistling noise is caused by feedback. Feedback happens when the sound coming out of the speaker leaks out of the ear and finds its way back to the microphone.
This happens when the volume is too high, or the rubber ear dome tip does not get a good enough seal in your ear canal. Here are some steps you can take to reduce feedback: