Note that if you are permitted to stay in Spain for a maximum of 180 days, then you do not need to complete any other procedures. On the other hand, if you will be staying in Spain for more than six months, then you should get a tarjeta de identidad de extranjero (TIE), which means Foreigner Identity Card.