What does a paradox mean in literature?

A statement that contradicts itself.

Often a statement that sounds fanciful or silly because it contradicts itself, but that is also often true.