I used to get nervous just playing in front of friends... after doing it over and over again, it felt as comfortable as playing by myself.
I used to get nervous while recording myself... after doing it over and over again, it felt as comfortable as just playing without the pressure of having to get it right...
Now, getting on stage in front of people you don't know is a whole other deal...
The trick for me is to focus on having fun. Even if you don't get everything exactly right. Ask yourself, how many people are actually going to notice, and how many of those are actually going to care?
Now, I do get nervous going on stage, but not to the point where it affects my performance.