Putting aside the psychiatric term, you want effect if you have a noun and affect if you have a verb EXCEPT…
If you can substitute “bring about” or “make happen” with a verb, it is effect.
…This will effect changes in the way we do business.
…New conditions will be effected when we enforce this new law.
…The death of her mother effected a new attitude in the teenager.