Set the directive to SAMEORIGIN.
SAMEORIGIN
Usage
Source
XFrameOptions.sameorigin()
The page can only be displayed if all ancestor frames have the same origin as the page.