While it has yet to be proven to be effective as a stand alone treatment for these infections for more than just a few people (I have actually yet to meet one that use this as a stand alone treatment and healed), but some have found it helpful as part of their treatments. It's not dangerous if done properly:
www.ncbi.nlm.nih.gov/pmc/articles/PMC3312702/