Android Question

My friend took my phone and tried my password too many times, so the only way for me to unlock my phone is to log in with my gmail, but I have forgotten it. And when I tried to hard reset it, it just turned on and off. what shall I do ???? :(