How does an exterminator get rid of roaches?

How does an exterminator get rid of roaches?