Is there a medication for social anxiety?

Yes. Social anxiety is treated in a similar fashion to other forms of anxiety. With medication and cognitive behavioral counseling.