Thinking straight needs a clear relaxed mind. Try yoga or meditation. Even try setting a proper sleeping schedule and you'll find clearance and peace at mind and you'll eventually be able to make better decisions.
Life is constantly throwing obstacles at us and most of the time they are unavoidable. If you can't think straight it would be a good idea to....
- Get more sleep
- In some cases better diet.
- Keeping a journal