Unemployment is optional (about +20€/month IIRC), to get it you have to prove a specific lost of revenue in a specific length of time, first year doesn't count, and you get 2 months of pay per 12 months worked ("normal" jobs get 4/12). I recently read that only about 25% of the unemployment petitions are approved. I chose not to pay it.
Since the moment you stop being an "autónomo" you get 90 days of "free" health insurance. After that, if you are <=26, you can use the health insurance of a parent or sibling. If you are 27, you have to pay for health care, or prove that you don't have any income to get free healthcare.