You got a ladyboy. Yields may suffer if it has already pollinated itself and is now seeded but if that's the case there's not much you can do about it now. If the pollen sacs have not yet opened you can step out of the freezer and seize them with a tweezer....
More importantly find out why your plants hermied out in the first place. Look for light leaks; tape up any pinholes or light leaks in your grow area, make sure there's no lights on during the dark cycle like from a power strip, if it's outside exterior lights could be the culprit. Go in the grow area during the dark cycle and look for anything that might trigger stress. It should be as close to pitch-black-can't-see-your-hand-in-front-of-your-face level of darkness as possible.