As there are 4 fundamental foces
http://en.wikipedia.org/wiki/Fundamental_interaction
I think the weak force is responsible for preventing the merging of electrons and protons, but I am not fully sure.
Edit:On the other hand here is a long description with no clear answer:
http://www.physicsforums.com/showthread.php?t=104715