I am leaving work for the day so here is a very quick exhortation!
God loves you no matter what...and when you confess your sins and repent (turn) from sinful behavior - He is faithful and just to forgive you and cleanse you! You may have to suffer the consequences, but this does not mean that you must suffer with guilt or condemnation. If the symptoms continue, make sure of what you are dealing with and then take the necessary steps to take care of yourself spiritually, emotionally and physically.
We all miss the mark - we must forgive ourselves and allow God to do His redemptive work in us.