Two ways usually. One, is to select factory reset from the settings menu. Two, you can sometimes hold down volume up or down and power at same time for about 10 seconds, or poke a paper clip into the reset hole on the back. This all depends on the make and model of tablet. There should be something about it in the manufacturer's instructions.
Or has it bricked(become un-bootable) or are you locked-out or something?