British citizen scenarios in Spain after Brexit

Different Scenarios after Brexit

I DO NOT HAVE GREEN CARD

I AM GREEN CARD HOLDER

I AM NOT GREEN CARD HOLDER BUT I HAVE BEEN LIVING IN SPAIN BEFORE BREXIT

I AM A BRITISH CITIZEN AND I WANT TO STAY IN SPAIN MORE THAN 3 MONTHS DURING A YEAR