Since spiders rely on their sense of smell to seek prey and a potential mate, they steer clear of areas with potent smells. So, you can make a hot sauce to repel them naturally.
Blend mashed peppers with hot sauce or cayenne pepper, then dilute with water. Add a little dish soap to make the solution stick to surfaces and transfer it to a spray bottle.
Spray problematic areas and regularly reapply every so often. The spices, particularly capsaicin found in pepper, release odors that spiders dislike, as it confuses their sniffers.
Since spices can burn your skin and tongue, wear protective gear. Take care about where you spray it, as it can leave stains, so as a precaution, test a small, hidden area first.