Alike atoms, protons are also made of smaller particles - mesons. When protons are at very close distance mesons are bonded together by the Strong Nuclear Force, which is stronger than the Electric Force, but acts only at tiny distances. Therefore, at larger distances charged particles of the same sign repel each other.