Can smoking cannabis help with anxiety?

I’ve heard that smoking cannabis can help with anxiety, but I’m a bit nervous to try it. Is there any truth to this, and if so, what’s the best way to smoke cannabis to help with anxiety?