Ukrainian citizens without a visa may stay in the Schengen area for up to 90 days in any 180-day period. War refugees from Ukraine may stay in Germany temporarily without a residence permit until 23 May 2022. During this time, you can apply to the relevant Foreigners Authority (Ausländerbehörde) for a residence permit in accordance with Section 24 of the Residence Act and you will then be granted protection for one to three years.