1st u need to know how feedback is cause, you pick the note the sound is picked up by the pickup and then goes into and out of the amp. so if the sound comes out of the amp and the pickup pick up those sound and the process just repeats and since it repeats sooooo fast that's where u get the feedback so based on this principle u can figure out how to control the feedback, and also diff pickup pick ups diff range of sound frequency better
its either your strings, cable, amp or pedals or a combination of any of the two. So check for rustiness and test your amps and pedals on diff settings. Not to forget, use different cables and test it out. Sooner or later,the eeeeeeek sound will go away.
normal operation
sound is pick up by guitar , send to amp, sound come out from speaker
feedback happens when
the sound that come out from speaker is pick up by guitar and send to the amp again. This will go on and on, causing a loop aka feedback.
solution
1. move guitar away from speaker
2. reduce the volume