An electron, indeed any particle, is neither a particle nor a wave. Describing the electron as a particle is a mathematical model that works well in some circumstances while describing it as a wave is a different mathematical model that works well in other circumstances. When you choose to do some calculation of the electron’s behaviour that treats it either as a particle or as a wave, you’re not saying the electron is a particle or is a wave: you’re just choosing the mathematical model that makes it easiest to do the calculation.

The next question is OK what is an electron then? At the moment our best description is that the electron is an excitation of a quantum field