Atoms for negative or positive ions depending on whether they lose or gain electrons to achieve the stable octet. If an atom loses electrons then it would have a positive charge (cation) and if the atom gains electrons then it would become negatively charged (anion).