Rf generator for pain management