Effect - noun and verb
As a noun, it refers to the outcome of something. "The effect of global warming is that there will be more rain".
As a verb, it means to cause something to happen. "The new Prime Minister hopes to effect change in the economy quickly."
Affect - verb only
It means to make something happen to something/someone. "His mood affected his work."