How can CBD oil help with pain relief and is it effective?

How can CBD oil help with pain relief and is it effective?