If you tell the truth, I’ll strangle you. If you lie, I’ll chop your head off. How do you get out the situation?
You will have to say something so that I can’t keep my word. So, you will have to say, “You’ll chop my head off.”
If the statement is true, you will be strangled, but then the statement will become false.
If the statement is false, your head will be chopped off, but then the statement will become true.