Interrupts Triggering during Upload and when Restart Button is Clicked

Hi all,
Just wondering if anyone has encountered a problem that when your code is uploaded an interrupt triggers that's not meant to. This also occurs if I hit the reset button on the arduino itself. It does not happen all the time and once it has run once it works perfectly fine.
Thanks for all your help :slight_smile: