How can election malpractices be stopped?

By the process called nomination.