This is an irregular verb. It follows the conjugation pattern of the verb começar.
Present:
O Lucas bagunça o quarto.
Lucas makes a mess in the room.
Preterite:
A Ana bagunçou tudo.
Ana messed up everything.
Imperfect:
O Miguel bagunçava tudo o tempo todo.
Miguel used to make a mess all the time.