What should I do if my employer treated me as an independent contractor when I should have been an employee?

The first thing that you need to do is contact a lawyer and get that lawyer evaluate your job and your responsibilities and then tell you whether you’re an independent contractor or an employee. That is important, because if you are an employee, and only if you are, you will get some benefits, which the law provides for you.