#1
Anyone have tips to help write a solo, in regards to making it go with a song better?
\m/ (-_-) \m/
#2
You could always look for the motif of the song, say a short melody, play it on the guitar and then like play it and reiterate it differently and then play whatever feels right. If you want you could also think about the modes and keys and such. Really its dependent on the song in some regards
#3
Check the key you're in. learn the different scales that fit that key, and start improvising. also this is the wrong forum for a question like this.
My Soundcloud

My beginner rig:

Epiphone Goth G-400 SG
Line 6 Spider IV (Don't judge me, I was young and stupid)
Stagg SW203N
Yamaha APX500