It is as per your contract. Check your labor contract with the company.
Normally for unlimited period contract the notice period is one month