I ascribe to the ACM Code of Ethics.
https://ethics.acm.org/code-of-ethics/
In practice that means I...
* refuse to work on adtech/corporate social media
* refuse to do work for the military or with military applications
* refuse to do work for law enforcement or work that might prove useful to law enforcement