Happens to me all the time. I also get bad depression during it all and that makes me want to rush because of the anxiety, then a day later I'm thinking "Pheww. Glad I didn't do that". And then a few hours later I'm wondering why I'm stagnated. Take the time to figure things out, namely WHY you go back and forth.
That guy in one of the Matrix movies was dead on. Knowing "why" is having power. Knowing why this is happening for you specifically, will help you figure out the path you need to take. I use journaling to figure out what causes these fluctuations and as long as they're not too graphic, I post those thoughts on the forums too. I know my why for going back to male mode. I don't know my why for going to girl mode. I've examined everything and I do mean everything like fantasy lives, sexual desire, over-analyzing (and over-analyzing my over-analyzing), comfort zone, being liked, afraid to be gay (actually I think I'm bi), etc.