The truth is, you need to start accepting that you cannot perfect everything, you are not a mind-reader, and as hard as you try, you cannot stop bad things from happening nor can you stop yourself from walking into bad situations. What you can, and should do, is get much-needed help.