Well…
You didn’t give us much to go on, but a squealing sound is often related to a worn or stretched accessory belt or a bad bearing in any of the accessories driven by the belt, like the alternator, power steering pump, A/C compressor, etc.
Check your accessory belt tensioner and see if the belt has stretched beyond the min and max marks on the housing. If so, replace the belt and see if the noise goes away.
Belt driven accessories typically make more noise at idle. When you get on the gas, the belt puts a side load on the bearing shaft and bearing, which tends to dampen out the noise somewhat.
To find a bad belt driven accessory bearing, use the old broom handle trick. It works much better than a stethoscope since sound travels better through a solid object than it does through air.
Cut a three foot length off an old broom stick. If you don’t have one, go to a hardware store and buy a 3-foot length of wooden dowel. Get one that is at least 1 inch in diameter.
Push one end of the wooden dowel or broom handle hard against the housing of the accessory you suspect is making the noise. Press hard to make good solid contact. Hold the other end snug against the opening of your ear and listen to the sound traveling up the wood from the accessory. You will be able to hear any noise coming from that accessory quite clearly. Continue this test with each belt-driven accessory in the car. You will notice a different pitch sound from each one. When you get to the one that makes the same pitch noise as the squealing noise you hear sitting inside the car, you’ve found the right one.
If this isn’t it, I’m not sure what to tell you to check. Can you give us some more information?