Controllable switching an adatom position and its magnetization could lead to a single-atom memory. Our theoretical studies show that switching adatom between different surface sites by the quantum tunneling, discovered in several experiments, can be controlled by an external electric field. Switching a single spin by magnetic fields is found to be strongly site-dependent on a surface. This could enable to control a spin-dynamics of adatom.