To determine if a particle is an electron or a proton, measuring its charge or mass is essential. Protons move in the direction of electric field lines, while electrons move in the opposite direction when subjected to an electric field. The right-hand rule can be applied in magnetic fields to differentiate between the two. Additionally, protons have a positive charge and greater mass compared to electrons, which have a negative charge. These methods provide clear identification of the particles in question.