Reasons to screeching of hearing aids:
Hearing aids are not properly adjusted due to which too much power pump into higher frequencies.
Having too much wax in ear canal
Earmold is too small.
Aid is not properly inserted into earmold.
If it is Behind the Ear hearing aid, might have cracked tube or earmold that lets the sound to leak out.