English has many irregular verbs. Remember that they are revealed in the past simple, the perfect tenses and in the passive voice. The best thing is to memorize them.
infinitive / past simple / past participle
The function of the verb is similar to regular verbs.
The teacher taught the new team.
Jack wrote to his colleague.
Steve woke up late on the weekend.
Janet told her colleague about the presentation.
The new employee knew the job.
Did the student read the report.
Didn't my friend ride to the hotel by car.
They have shut the door.