Persim and Lum Berries cure confusion when it happens if the Pokemon is holding the berries. Also the ability own tempo prevents confusion all together. Other than that there is nothing I can think of.
There are berry's that heals confusion.
Lum berry Persim berry
Hope this helps
///Jofly