read the terms and conditions in your contract that you signed. It should all be there. If not, read company policy on resignation