A hermie is a female plant that produces seeds by changing the sex of one or more of the flowers and self-pollinate.

Heat is the biggest cause for turning a female plant into a male.

if you see male balls forming you can pick them off early in their formation before they open and pollinate the other flowers.

Dutch Master produces a product called feminize that stops a hermie from producing seeds as well.