If inside apartment complex, you have HOA/management company.
If SFH, you can try to find something to complain to city so that more police patrol and trap will be set.
DO you have neighborhood watch program?
Your question is really big, no single solution for all scenarios