Dragonflies fly home in winter. Can you let them go?
Maybe you can see if the dragonfly is injured, and then wrap it up or build a nest for him, but the dragonfly doesn't know where its nest is. Maybe he can drink some dew. If it's too cold outside and you don't want to release it, put it where you can fly out, and then sign there to see if it will fly back by itself.