While there are many things you can do on your own to get rid of cockroaches in your home, an infestation can be tricky to get rid of. When all else fails, it's better to let a professional get rid of the problem for you. Call an exterminator if your roach problem gets to be too much to manage. While it will be more costly than a home remedy, you will be glad to rid yourself of all the pests in your home.
If you're looking for a DIY solution to your cockroach problem, boric acid is going to be your best bet. Mix boric acid with flour in equal parts to create a dough. Roll it into several balls that you can place in the areas that the cockroaches are in most frequently. The cockroaches will eat the dough and the acid will kill them. However, this solution is NOT PET-SAFE! Boric acid can be toxic to pets, so please keep that in mind.
One of the easiest ways to keep your house roach-free is to clean it thoroughly and keep it as clean as possible. Cockroaches are attracted to crumbs, garbage, pet food and absolutely anything left out on a counter. After meals, make sure to wash your dishes and put them away. Also, clean up any crumbs on your countertops and floors. All leftovers should be put away and trash should be taken out. Another thing that is easy to miss is the stovetop. Make sure there is no grease or crumbs left there as well.