Correct use of “affect” and “effect”

Affect” is a verb and it can be used when you talk about an action with consequences.

Example: Running will positively affect your stamina.

Effect” is a noun and it can be used as a synonym for “consequence“.

Example: This will cause a mass effect among the Americans.