How do you get a sociopath prosecuted?

Just being a sociopath isn't illegal. You'll have to wait for the sociopath to perform an illegal act at which you can report the person to the police and wait for the legal system to do its thing.