I presume that you are no more on tourist visa.
If you are on working visa provided by your sponsor and you ant to leave this job to join another company in Qatar then you have to seek for NOC(release letter) from your current sponsor. Otherwise you can not enter Qatar on work visa provided by other company.
For further info please consult legeal advisor of The Gulf Times for free consultation.
Thanks