How to not be attracted to someone?

I keep fantasizing about doing it with a girl I know. I haven’t fantasized about doing it with a girl before. And it’s freaking me out because I’m attracted to a girl now and I don’t know what its supposed to mean Or what I’m supposed to do