The answer to 'how to get rid of mosquito' is to take a multi-pronged approach that targets the mosquito life cycle. First, eliminate standing water around your home where mosquitoes breed, such as in gutters, bird baths, and flower pots. Second, use an EPA-registered insect repellent when spending time outdoors. Third, consider installing screens on windows and doors to keep mosquitoes out of your home.
If mosquitoes persist despite your efforts, you may need to call a professional pest control technician. They can apply targeted treatments to eliminate mosquito breeding grounds and adult populations around your property.