If you see that a lizard has been lounging in your yard and looks like it needs your help, you can take it as a pet.
Here’s what you should do:
The first thing to do is to prepare its homes such as an aquarium or something that has smooth walls and ventilation.  Place some water flooring that is easy to replace and a small bowl of water. You should also place a piece of a branch so it can move around and make it feel more like it is in its habitat. Search about the type of lizard that you got on the Internet and research the best ways to take care of it. Every species of lizard has its lifestyle, feeding patterns, and hunting styles, so what works for other species might be harmful to what you have. Contact your local veterinarian to learn more about your new pet.