If someone accidentally says something that reveals their subconscious feelings, especially their sexual feelings, this is referred to as a Freudian slip.
Freudian slip in British English
noun
any action, such as a slip of the tongue, that may reveal an unconscious thought
Freudian slip in American English
a mistake made in speaking by which, it is thought, the speaker inadvertently reveals unconscious motives, desires, etc.
Examples of 'Freudian slip' in a sentence
Freudian slip
`Perhaps it was a Freudian slip and I did mean to connect the two.