Read the contract you signed when you started to see what it says about giving notice to leave.