Cockroaches hate the smell of lavender. If you grow lavender flowers in your garden they you can prevent cockroaches.