What is the best way to get rid of cockroaches?

I'm in an apartment. Seems everytime they renovate a place they displace roaches and I see them more. Is there a way to get rid of them rather than using a pest control company.