Read the sentence and correct the mistake. Don't rewrite the whole sentence.
Peter has just wrote an e-mail.