It's a common misspelling to write it as "ok", but "okay" is the preferred and more widely accepted spelling.