Threatening calls and emails from online home based data entry company

I was approached by an online company for home based online data entry (form filling) job. They promised high returns if I worked daily 2 hours for 20 days filling forms online. They took my photo and aadhaar details and signature online and sent me an agreement with lots of clauses and an online link for data entry. But once I started entering the form I realised that as against what was marketed it will require 9 to 10 hours of non stop typing to complete the given work in time. Besides there were lots of anomalies in the form which made it impossible to submit error free work. I emailed all the issues to the helpline immediately but there was no response. I therefore after several emails sent a final mail asking to end my contract as it was practically not possible to do the job work under the given conditions and the uselessness of helpline services. There was no reply or communication from the company for nearly 20 days but thereafter suddenly people claiming to represent the said company started emailing and phone calling and pressurizing me to pay a penalty the amount of which they started increasing with time. I also started getting calls and emails from advocates who mailed me what seemed to be legal notices. The company is not interested in solving my problem and is hell bent only in penalty amount. Later I came to know from some friends and also from online forums that there are such scams going on wherein they promise high returns and dupe people by either charging registration fees upfront or penalty later. I and my family are disturbed and undergoing mental agony due to threat calls and emails from the so called lawyers of the said company. What should I do in such a situation?