Consistent cleaning and maintenance of your home preventing roaches from finding food and water sources is the best way to ensure a roach infestation does not begin in the first place.
Several natural methods shown to deter roaches from your house include:
Essential oils: Some essential oils, such as peppermint, tea tree, and eucalyptus oil, have been known to repel roaches. You can dilute a few drops of oil in water and spray it around areas where roaches are likely to hide.
Bay leaves: Roaches dislike the smell of bay leaves, so placing them in cabinets and other areas can help deter them.
Vinegar: White vinegar has a strong odor that can repel roaches. Mix equal parts of vinegar and water and use it to clean surfaces, floors, and cabinets.