Rotate in wrong axis

When I rotate an object, it rotate in different axis. How fix it or reset it?

By switching the transform orientation and/or applying object rotation.

How do I do that?
Thx.