How do you fix the glitch in Pokemon pearl when fight area freezes when ever you go there?

you have to talk to someone