How to Change Your Gender

Hi, I have had a lot of lucid dreams, but I can’t seem to successfully do this. I’ve found transformation tutorials, but none show me how to transform my gender in a dream. I was hoping somebody could post some kind of general guide here for transforming your gender. I have tried tons of different ways, but I always wake up.

To a man or a woman?
For my technique that I found you must tell me which gender so I can post the right guide.

To a woman. I’ve been partially successful before, but never have been able to complete the transformation without waking up.