Can I file a case or wait for end of service ?

Hello I am working in muscat

My company asked me to give resignation intead of they terminates me and I got salary deduction since last 4 months unnecessarily can I file a case or wait for end of service.