For example:
* "The weather can affect your mood."
* "The new policy will affect all employees."
However, "affect" can also be a noun. In this case, it means emotion or feeling.
For example:
* "She showed little affect during the trial."
It's important to pay attention to the context to determine whether "affect" is being used as a verb or a noun.