If you can't get into it to do a factory reset, you can try to hook up to computer and wipe that way.
Try holding power, home and vol up to boot and see if you get into recovery. There you should be able to wipe.
If you can't boot at all, there might not be a way to wipe data.