This is an irregular verb. It follows the conjugation pattern of the verb sentir.
Stem Change: e ie (me divierto) - e i (se divirtió)
Gerund: divirtiendo
PresentPresente
Los niños se divierten en el parque.
The children have fun at the park.
PreteritePretérito indefinido
Ayer nos divertimos mucho en la fiesta.
Yesterday we had a lot of fun at the party.
Present SubjunctivePresente de subjuntivo
Espero que te diviertas en el concierto.
I hope you have fun at the concert.