There's a good chance that if you're fairly new at playing the guitar, singing or both, that you're afraid to play songs in front of people. Whether at an open mic night or even just in front of your friends, you can't muster up the courage.
This comes from an irrational fear of rejection and you should squash it immediately. It'ss left over from when we were a primitive species living in small tribes where you only knew people in your tribe and maybe some from neighboring tribes. If your ancestors got socially rejected in that setting, it could mean they would have trouble finding a mate or worse: they'd get booted from the tribe all together. You, on the other hand, have probably met more people in school last year or at your last job than your ancestors met throughout their entire lives. Unfortunately for us, our species spent the vast majority of its existence living this way and we haven't outgrown that fear yet.
Let's face it; that kind of social fear is useless to us now, especially as it applies to playing music. If you play at an open mic night, fumble through a few songs or even completely bomb, chances are good that you aren't going to see any of those people ever again. If by some freak chance you ran into one of them a week later, they probably wouldn't remember you anyway. It's much more likely that if they did remember your shakey performance, they'll admire you for getting up there and trying than reject you. We're all human and we all deal with those fears, people know it takes guts just to try.
Usually when I feel those butterflies in my stomach and I'm nervous about something social, whether it be talking to someone I don't know, saying something important to someone or playing on stage, I know that that's exactly the thing I should be doing. It's like telling someone you love them for the first time; you're putting yourself out there and you're not sure what kind of reaction you'll get. It's scary but it's necessary because it'll expand your comfort zone and help you grow as a person. So play in public. Get up there at open mic night, sing a song at a karaoke bar, bust out the guitar (or ukulele) when you're hanging out with your friends. Afterwards, no matter how it went, you'll be glad you did.