How can I prevent cobwebs in my house?
They get in through small cracks and holes in the exterior of the house, usually near the foundation or under doors. If you seal any and all holes it will reduce the number of spiders.

They require water. A house that is absolutely dry will have no spiders.