RE:- Can't we join Competitor company, if we have signed any bond in last organisation.

Dear Sir, Greetings.! My name is Lalita. I wanna ask you few questions. I was working in a organisation. Who are the manufacturer for medical devices. Actually i was working there last one year (From 6th June 2017). I was working there as a international sales executive. At the time of joining they just gave me 1 offer letter. There is nothing mentioned.AFter one year on dated 5th may 2018, I've given interview in Another medical devices company. They just came to know, That I've given interview in the competitor company. That's why they just gave me appointment letter, there is mentioned that, You can not join compititor company till 5 years, After leaving this organisation.And they have mentioned my joining date on that appoinment letter instead of real date.On 26th May 2018 after office hours between 6pm-8 pm, they just tortured me, there are 7 people in a room and i was alone there. All staff has gone to their home from the office.They said i did wrong, i did not go for the interview in the competitor company. They just blamed me that I've copied company data.They used abuse for me. they were scolding me.they were saying that, they will call to police. After this next day is sunday. I did not go office on monday i.e 28th may 2018. They called me again. They said you have to join office today. But i could not go there again after experience of 26th night in the office. On 29th may 2018, i just dropped a resignation mail. Now after 1 month what they did, they just sent me a legal notice from their lawyer. Now what should i do. Till now i did not speak to any lawyer. i"ll soon. All are saying that company can file a case against me. What should i do.? I've told you all story. It is truth. Can company file a case against me.?