First of all, you must ensure that the place you have selected is an urban land, that is, a plot that belongs to the urban planning of the municipality and has all the basic services, such as water, electricity, or sanitation.
Next, you need to go to the City Hall to carry out the necessary procedures to obtain the essential permits, register the property, and activate the water and electricity supplies. Houses are subject to the Building Regulation Law, so you must keep in mind that you need a certificate of occupancy and a first occupancy license.
Finally, you must pay taxes related to its installation. Some of these include the Tax on Constructions, Installations, and Works (ICIO) or the Value Added Tax (VAT).