Jsm,
Don't give up, everyone makes mistakes. Four months is awesome and you haven't lost that time and what you learned from it. Make a plan now while you are feeling the regret and figure out what the trigger was. You'll know in advance for next time.
Never give up! Tomorrow can be a new day 1 and a new you + future.
Keep posting, we get it!