How do I get this working

We had a hurricane hit us earlier this week and I found this broken off, so I took it home, does anyone know the best way to have this work while not breaking the bank, thank you