As a verb (meaning to influence or change):
* The heavy rain affected the crops, causing them to rot.
* The news of her promotion affected her mood; she was ecstatic.
* The teacher's words affected the students deeply, inspiring them to work harder.
* The music affected the atmosphere in the room, making it more lively.
* His anxiety affected his ability to concentrate on the task.
As a noun (meaning an emotional response or impact):
* The movie's ending had a profound affect on me; I couldn't stop thinking about it.
* The children's laughter had a calming affect on the tense situation.
* The negative affect of the pandemic on the economy was undeniable.
* Her speech had a powerful affect on the audience, inspiring them to action.
Other examples:
* Her decision to quit her job had a ripple affect throughout the company.
* The drug had a negative affect on his health.
* The new regulations will affect the way businesses operate.
Note: It is important to remember that "affect" is a verb, while "effect" is usually a noun.