When I rotate the Camera XYZ coordinat arrows rotate too How to prevent that

I am making an RTS game but when I rotate the camera the position arrows rotates with it !
and when I move Z coordinates it goes down (it should go forward )
how to fix it ?

If you edit in the inspector, that usually works for me. This usually happens.

I assume by “arrows” you mean the translation handles in the scene editor. There’s a button in the top left that toggle’s an object’s handles between local and world coordinate spaces.