To go against what you've said or done, similar to hypocrisy. Here's the official definition:
To assert to be untrue, often by saying the opposite: synonym: deny. To assert the opposite of a statement or idea put forward by (someone). To be contrary to; be inconsistent with.