This is an irregular verb. It follows the conjugation pattern of the verb pedir.
Stem Change: e i (me divierto)
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.