The misspelling "did'n" can be corrected as "didn't". This is the contraction of "did not". Other possible correct suggestions for this error include "didnt" and "did'nt". However, "didn't" is the most commonly used and widely accepted form.