How can I get rid of the moths that are swarming around my front and back patio?
It is worth finding out what type of moths these are, and what their food plant is. Once you know this, look around outside your house and see if you have any of these plants growing nearby. If so, are they covered with caterpillars at a particular time of the year? These will eventually turn into moths, and they will then be attracted to your house, especially any sources of light that you display to them.
So, steps you can take might be -
1. Get rid of the plants in question, although this might be a drastic step to take, especially if you are fond of the plants!
2. Check the leaves (especially the undersides) and remove any moth eggs that might appear. No eggs means no caterpillars, thus preserving the plant and cutting down on the moth problem.
3. Don't display light sources to the outside world that the moths will be attracted to. This includes outside lights on patios, etc, and uncurtained windows. A moth will be less likely to home in on a diffuse light source than a direct one.