"Affect" is typically used as a verb, meaning to influence or to produce a change in something. "Effect," on the other hand, is usually used as a noun, referring to the result or outcome of an action. In general, then, you can remember that "affect" is used for actions while "effect" is used for results.