Reflexive: When "yourself" refers back to the subject of the sentence, it's reflexive. It indicates that the subject is both the actor and the receiver of the action.
* Example: "You should treat yourself to a nice dinner." (Here, "yourself" refers back to "you," meaning you are both treating and being treated).
Intensive: When "yourself" emphasizes the subject of the sentence, it's intensive. It emphasizes that the subject is acting independently or with full force.
* Example: "You can do it yourself!" (Here, "yourself" emphasizes that the subject is capable of performing the action alone).
In short: "Yourself" can be either reflexive or intensive, and the context of the sentence will determine its function.