A lot of people confuse affect and effect. The most common uses are:
Affect as a verb, meaning to influence or change something.
Example: "This wildfire smoke is really affecting my health."
Effect as a noun, meaning the result of some change.
Example: "The effects of the wildfires won't be fully understood for years."
But also affect can sometimes be a noun, meaning feeling or emotion. This is mostly used in psychology.
Example: "She had an anxious affect because of the smoke."
And effect can sometimes be a verb, meaning to cause something.
Example: "The wildfires effected a change in the level of air pollution."
Isn't English fun? You can learn to be a more effective writer by using words precisely.