Electric guitar...
You Tube has helped me immensely, it's a really good tool. There is so much guitar-specific stuff on there, you'd never be able to watch it all. I can't vouch for the accuracy of everything I use but I can say that there were enough songs I learned to play by ear but then watched a YT lesson and said "ooohhh, that's how you play that". You really can't beat free private lessons. Trurhfully some of them are not that great so if you don't like the presenter just keep searching until you find someone you can tolerate.
Someone mentioned Shut Up And Play on YT, that guy is really good for classic rock. There's a British guy (My Blues Guitar) that does a lot of Cream-era Clapton stuff which I like as well. He breaks the lessons up into a couple different parts which makes them less overwhelming.
Up until recently I was stuck in a bit of a rut with my playing. I learned some new bits by chance but it was like finding the pieces of a puzzle that had been missing for decades. I'm still talking simple blues-based rock and roll here but these nuanced little techniques have helped to make my improvisations sound more musical and organic.
Regardless of however you do it, just keep playing and it will come together.