Once you have your visa you will be allowed to enter Spain freely. And you must do so within a maximum of 3 months.
In this case, it won’t be necessary to obtain the NIE number once in Spain. This identification comes stamped on your visa.
However, once in Spain, the first thing to will be to register in the municipality where you will be living, and within a maximum period of 1 month, you go to a police station, register your fingerprints, and receive the TIE or foreigner’s identity card.
That’s how easy it is. You will be able to enter the country and receive your residence permit within 40 days. Without having to do anything else.
On the exact day that you are given the visa in your passport, you will already be a legal resident in the country, so it will start counting towards obtaining citizenship.

Obtaining the TIE or foreigner’s identity card image
I BUILT MY SITE FOR FREE USING