There are a lot of potential causes for stringing, or spider webs. Some of the most common are poor retraction settings, poor temperature settings, and an improperly calibrated extruder.
Also, keep in mind that ambient temperature can affect stringing if you don’t have an enclosure.
The first thing that I do if I find that my printer is stringing is print a retraction tower, a temperature tower, and recalibrate my extruder. This takes 30 minutes and saves tons of time.