Not to mention that store-bought pest sprays only deal with the ones you can see; plus the toxic nature of the chemicals involved wrt pets, people, and children.
In keeping with the fact that we all have different living situations, the best I can suggest for those are able to, is an Ally Brosh-style “Clean All the Things!” approach.
For other users in a flat (or apartment) and may be at the mercy of a less-than-tidy neighbor, roommate, etc., the best you can probably do is abatement, in which case I second the use of bait traps mentioned above.