Buying a gib plated car for use in Spain

im buying a gib plated car in Spain its on gib plates and has a current mot and insurance

im based in Spain and resident here for 18 yrs whats the best way to change the car to Spanish plates

car value 3000 euro its an old classic