Social anxiety & Caffiene

I find caffeine kills my social anxiety, what mechanism would be causing this, and are there any caffeine alternatives that would create the same mechanistic action ??