Certified GKH Gardening Expert
Spiders don't harm plants and can be beneficial in keeping unwanted pests from getting at the plant. If there seems to be very many of them, the best organic method would be to simply use your water hose to spray down the plants and knock the spiders and their pods off. It won't get rid of them all, but will reduce how many there are. To be honest, if they do seem to be hanging around, they are probably well fed off pests from the plant and may be keeping your plant from those pests.
If, however, you are referring to spider mites, then you can treat with neem oil, which is safe for beneficial insects (and spiders) but will kill those that are harmful. Here is more info: https://www.gardeningknowhow.com/plant-problems/pests/pesticides/neem-oil-uses.htm