Best way?
I'd wear a mask unless you want sneezing fits.
Better safe than sorry, so use males that are confirmed male, "stress test" them to see if they produce female parts. By test I mean, mess with the lighting schedule, attempt a reveg a month into flowering(the males) by then they should be ready to drop pollen.
If they show no signs of intersex traits you can then pollenate them at the time they are dropping pollen, usually you want 5-7weeks for seeds to develop depending on the variety, so if you know the plant takes 10 weeks to finish, pollenate roughly 4-5 weeks Into flower to maximize seed production.
Make sure your plants have adequate root space, rootbound plants produce seeds at a slower rate, and fewer.
Is there something you specifically need to know?