The Department of State claims that they have a computer which randomly selects approximately 100,000 applicants for the 55,000 visas. Each applicant selected gets a number. They are then eligible to apply ... in sequential order ... until all the visas are gone.
FORMER IMMIGRATION LAW PROFESSOR -- LEGAL DISCLAIMER: This answer is offered for informational purposes only. It does not constitute an attorney-client relationship.
First you need to qualify. The government does not disclose the method however all qualified applicants are gathered together and the winners are chosen at random. Winning the lottery does not guarentee a visa. if you win you must provide evidence and attend an interview before you will be granted a visa..
It depends on luck of the draw over which you have no control.
The answer provided here is general in nature and does not take into account other factors that may need to be reviewed for a more precise answer. You should consult with an immigration attorney before taking any action. The answer here is not intended to create an attorney-client relationship.