How can CBD oil be used to alleviate pain and inflammation effectively?

How can CBD oil be used to alleviate pain and inflammation effectively?