Affect is a verb, and means to have an effect upon; do not confuse with the verb effect, which means to bring about, or the noun effect, which is a consequence or result.

The greatness of a man is not in how much wealth he acquires, but in his integrity and his ability to affect [verb] those around him positively. (Bob Marley)

Genius is the ability to put into effect [noun] what is on your mind. (F Scott Fitzgerald)

In tough times, we all hope for the knights in shining armour, or the cavalry, to show up and effect [verb] change. (Dean Devlin)