Robot spinning right for no reason

Robot start to spin automatically without touching controller at the start of program and continues to spin until it stopped for a second and continues spinning to the right side. What is the problem, I have no clue

Would be helpful to see the code that’s causing this