Contact the vendor of the tablet or if you got it from a cell phone company, contact them.
You can also do it yourself, just do a web search by the model you have and "factory reset", easy to find.
Should also be instructions for this in the manual if you kept that.