Extending a tourist stay
In Schengen you generally can't extend a 90-day stay as a tourist. You have to leave and wait until your 90 days reset (in the 180-day window). Some countries have long-stay national visas (e.g. Spain non-lucrative or nomad) but that's a different application.