Steps can be taken to prevent wasps invading your home in the future. Some of these are home remedies, like oils and wasp traps. However, these are only suggestions and it is best to hire professional pest control specialists to get to the root cause of the problem.
Other things you can do include creating a false nest in areas where wasps like to build, such as in small areas. This will act as a deterrent for wasps who might have otherwise constructed their nests in these spaces.
Ensuring that all food is also covered will stop wasps from being attracted to it. This includes any food that has been disposed of in bins. Additionally, even though it can be difficult to close windows in summer due to the heat, this will act as another deterrent to wasps if you are worried about encountering them.