How about having a good friend who you trust around? Even if they aren't with you physically you can text them often during the day, or call or get in touch somehow, and their input could help you get your head together to an extent and keep your actions grounded even if your thoughts aren't... like running ideas by them instead of just going out and doing them.