A tourist visa is commonly valid for stays of no more than 90 days. If you are travelling through multiple Schengen countries it’s advisable to apply for a “multiple entry” visa.
If you wish to stay longer, you will have to apply again in your embassy.