Use gutter guards to keep bird nests out of your gutters and downspouts. Many bird species look for small cavities in which to build nests and will take advantage of openings in your home.
so your best option is to prevent these birds from nesting around your house in the first place by covering the areas where swallows might build nests. Frightening devices that scare birds away ...