How do I marry a Spanish citizen?
The answer is simple: since the residence permit has been granted. That is, you can have been married to a Spanish citizen for a longer period of time. The important thing (the requirement that will be examined) is that you have lived together for at least one year in the Spanish territory.
When you marry a Spanish woman you get?
Marrying someone with Spanish citizenship gives you Spanish citizenship. You become a Spanish citizen because you have residency in Spain for one year but only if you marry a Spaniard. You do not need to wait 10-years to officially apply for Spanish citizenship.