if your plant doesnt make male parts you could just let it flower for too long, it will make males then. I wouldnt recomend doing anything damaging like purposly burning, crushing, nailing, depriving or w.e.
I know people try this and they end up with a dead weed plant