Different species of cockroaches respond to different extermination tactics, and a tactic used for one species will not be effective on another. This means you need proper identification of the cockroach, which can be difficult to those not familiar with these insects and you will most likely go through a few methods before being successful or just giving up.
No matter the species of the roach, prevention and sanitation are the keys to successfully controlling them. Vacuuming will eliminate cockroach skins and feces that cause cockroach allergies. Cockroach feces also contain a chemical (aggregation pheromone) that attracts cockroaches to an area. Eliminating the cockroach feces by scrubbing with hot, soapy water will decrease the amount of aggregation pheromone available to attract cockroaches to the area.