Processeses to get through if i leave my job and go back to my country

Making people happy around me

I working here in muscat from November 2015. If I want to leave the job and go back to my country what all processes I have to get through. I wish to give one month of notice period to my company. I want to know that company can charge me money for visa expances and all. Kindly give me the right information!