On a Spain Tourist Visa (Type C Schengen), you can stay for up to 90 days within any 180-day period. This means you cannot spend more than 90 days in the Schengen Area within every 6-month window. If you wish to stay longer, you will need to apply for a National Long-Stay Visa (Type D), which allows stays of more than 90 days.