STM32 Stuck in boot mode

I'm using the STM32H753ZIT6 NUCLEO Board. For some reason the User LED's are on by default even without any code on it. I tried to press the reset button but it would just blink the led's. I read on another forum to short the BOOT0 and Vdd pins but was hesitant to try that. The board works fine sometimes but it tends to give random/no outputs some times.
