don't pull your plant. if it's the only one then there's no risk of infecting any other plants, so there's no reason to prematurely pull it. secondly, your plant can't actually "turn male". it can produce some male banana flowers, but that won't have any effect on the way the bud smokes, so just let it finish. if they aren't too numerous, just pluck the little banana shaped flowers with a pair of tweezers...if you like. or you can just leave them on and allow for the possibility to get some seeds. once again, no big deal, it should smoke just fine. try to panic less. make sure the conditions are adequate so your next plant doesn't experience the same problem. i.e. make sure there are no light leaks, make sure your ph is within range every day, make sure temperatures are within range both while the light is on and while it is off, among other things. ppl are generally scared of hermies because they fear it will infect their entire crop, especially so with perpetual crops that have plants in different stages of flower at all times, then it becomes a perpetual nuisance. good luck.