hard reset old gmail

any one know how to hard reset moto G by pass Gmail