I'am no teacher, but with 2 years of playing you probally have a pretty good foundation to start on, so if you don't already know your scales/modes start by learning them, and I also found it really benificial learning every note on the fretboard, and then probally like you learned to play rythym, after you have the 'basics' start playing... to music you like (I found it easier to play 'slower' blues to start), improvising, exploring, and a metronome is great to work up your speed... well thats my 2 cents, sorry I can't give you any 'secrets', and there is a wealth of info on the web to get started with.
Re: learning scales and solos
I'am no teacher, but with 2 years of playing you probally have a pretty good foundation to start on, so if you don't already know your scales/modes start by learning them, and I also found it really benificial learning every note on the fretboard, and then probally like you learned to play rythym, after you have the 'basics' start playing... to music you like (I found it easier to play 'slower' blues to start), improvising, exploring, and a metronome is great to work up your speed... well thats my 2 cents, sorry I can't give you any 'secrets', and there is a wealth of info on the web to get started with.