An electron doesn’t really orbit the nucleus in its atom. It doesn’t have a speed with which it circles its nucleus. This is a common misconception.
Things are more complicated than that. They can be explained using the bizarre laws of quantum mechanics, rather than the traditional ones. An electron occupies the whole circumference of its orbit around the nucleus its atom. The probability function that defines the electron’s position means that it occupies a particular position when it is observed. This probability cloud indicates the likelihood of it being found at a particular position around the nucleus.
Quantum mechanics is a subject that you can’t really understand. You can accept the facts and continue to discover the amazing secrets of the universe.