Sorry, it felt like some kind of a leading "gotcha" question. Why are you wondering about nuclear power in Spain, specifically? And why only from someone living there? Both seem entirely out of context with the discussion thread, which didn't mention Spain before your comment.
If you want details from someone who can do a quick Google search, instead, I offer: It seems like there was a politically led moratorium for several decades, then allowed but regulated into impracticality. Meanwhile the reactors they built have operated well for about 40 years and provide a large portion of the country's annual electrical generation.
But thank you for your valuable contribution.