Learning the guitar... after 10 years of playing

I’ve been playing the guitar (both electric and acoustic) for quite a while now. Come to think about it, I think it’s over 10 years when I bought my first guitar, a horrible Jackson/Charvel superstrat with an awful Floyd Rose-type tremolo. I’ve been playing ever since, but sometimes weeks if not months have passed by without me even touching my guitars. My level as a guitarist is nowhere near where it should be considering the amount of years. I really struggle with leads/solos and my chord strumming is erratic.