Hello,
As of today Slovak government created many governmental and hotel based accommodations for people from Ukraine. You can just arrive there and request long term or short term place to stay.
All relevant information you can find here:
https://pomocpreukrajinu.sk/#announcementIf you need additional information about accommodation or any other topic related with integration of Ukrainians in Slovakia, don’t hesitate to contact us on our UA-speaking hot line +421222115650 everyday between 8:00 and 20:00.