"Όχι" is used for negating statements and facts, typically in indicative sentences. "Μη" is used for negating commands, wishes, or subjunctive and imperative sentences.