If you see your friend looking sad, you may say "Hey, cheer up!" I don't think that "Be happy" sounds natural unless you're singing that song ("Don't worry, be happy!")
or you're in a place where you gathered with your friends and the conversation is not so well and you call one of your friend and say "hey Alice, come here and cheer us up" like that.