I have a problem running an lcd code for an arudino.The code is fine , but if I try to start a serial begin on the code, it wont work

So in a nutshell the code is poorly written because I plan it to be the fundation for a calculator, but rigth now is just a timer, so that may be the problem, but everything works until I try to stablish a connection with the serial monitor "Serial.begin(9600)" Without the serial line the code works… Read More I have a problem running an lcd code for an arudino.The code is fine , but if I try to start a serial begin on the code, it wont work