DIG THIS! about Squash:
If squash vine borers attack your vines, slit the vine at the point of entry, remove and dispose of the borer, then cover the opening with moist soil and new roots will grow.
Destroy any vines from your garden by burning them to reduce the chance that a pest or disease could winter over in your compost pile.
Rotate, rotate, rotate! Every year you should be rotating your crop locations in the garden. Avoid planting your next year crops in locations where similar pests or disease could infect the new garden.