1: with was/were, you add n't to the verb (wasn't, weren't)" I was at school yesterday"
" I wasn't at school yesterday"
2: with all other verbs, you put didn't before the main verb, followed by the infinitive (hele werkwoord).
" We brought lunch to work"
"we didn't bring lunch to work"