affect is often used as a verb. ex. Alcohol will affect your ability to drive.
effect is a noun. ex. the effects of alcohol often impair a person's judgement.
effect is brought about by the cause or result of something
affect is the result of causing...