My arduino randomly pauses

no i didn't use the on board LED i used a random one i found lying around and i hooked it up in series with a 330 ohm resistor

how do i upload the schematics so it's not as mentally draining?