Affect and Effect are English words with almost the same sound. As you can see, the only difference in their spelling is that, one starts with 'A' and the other start with 'E’, Although, this is not enough to differentiate between the two words, but just to tell us, they are what is responsible for the small difference in their sounds. You might have been using the two words interchangeably just because you think they are the same, but that is not true. There are some differences between ''affect and effect'‘.
Affect simply means to make a considerable change in someone or something by influencing them in some ways. For example: the story told by the boss affected me greatly. It is also used when you are moved to emotion. Effect, on the other hand, is the outcome or result of a cause. It is the action produced after someone or something has been influenced or altered by something. It is like the end result of what has affected you