How to ensure the validity of a visa to the UAE?

How to ensure the validity of a visa to the UAE?