S + have/has + not + V3
S - subject: I, we, you, they, he, she, it, Mary, John ...
V3 - the Past Participle of the verb (the verb in the third form): written, eaten, worked, ...
have not = haven't
I have not eaten = I haven't eaten
has not= hasn't
She has not eaten = She hasn't eaten