When you lose an electron, you have more protons, meaning your atom is overall positive. When you gain an electron, you have more electrons, meaning your atom is overall positive. You can remember this as cat's are PAWSitive(referring to CATions and how they refer to positivity) and anions are just the opposite.