I am confused

So lately I’ve been thinking about changing to male pronouns and getting the sex change surgery in the future but every time I do there’s a little voice in the back of my mind that says im only thinking about it because a lot of my friends are and I am a girly girl, I would wear makeup and have long hair even as a guy. Sorry about the midnight paragraph. Does anyone know how to find out if these thoughts are real or just random? I apologize if this offends anyone but please help