To dream of seeing a person of the opposite sex undressing is a warning to go very slowly in placing your trust in any new person you may meet.
Dreaming that you are undressing can represent:
The idea of open and honest communication
The idea of revealing information, feelings, truths, or something else about yourself
Feeling open to emotional risk and making yourself vulnerable, in a positive way—such as to build your connection with another person
Dreaming that someone else is undressing (in an uninvited way) can represent a situation or person in your life that you feel is intruding on your personal integrity or preferences.