How to prune cannabis plants?

What is the proper way to prune my cannabis plants? I’ve heard that pruning can increase yield and overall plant health, but I’m not sure how to go about it.