Transfer Code

Or buy your teacher a new '328P for the board, and keep the one you have.
Click Arduino here