Repent for all the wrongs done and resolve not to repeat the mistake; then God will extend His grace.