Your home is your castle so the last thing you want is a bug invasion. The first and most important step in a bug-free home is to make sure you aren't providing breakfast, lunch and dinner.
Bugs go where there is food.
Take away their food and usually they will go away as well. This does require some effort however. It means you must vacuum or sweep crumbs up regularly and keep your counters clean. You should also keep all food tightly closed or sealed. Leaving out fresh fruit can also attract bugs.