VexCode V5 switching motor directions in auton

Hi everybody my team and I have run into an unusual problem with Vexcode and im hoping someone on here will be able to help me out. we have programmed our robot to drive backward and about 80% of it does that but for some reason, it just randomly changes the direction of the motors causing our robot to go forward for no reason at all. I wouldn’t touch the code and it would randomly change. Any suggestions?

Can you post your code? Either paste the text between two sets of (three ticks) ‘’’ or a screenshot if you are using blocks.
```

//Example of a code block between three tick marks

```