Found possibly injured house Martin

We have house martins living under our roof and one accidentally flew through the window and was picked up by the cat. It doesn’t look injured in the outside but it refuses to fly and it seems in shock/ very scared. I can’t leave it outside alone because of the cat and i can’t reach its nest either. Any help?