You could only travel to Dubai or any other GCC countries once your residence permit (RP) has been stamped onto your passport and you are one of those proffessions which entitles you to obtain a Visa on Arrivial..