Just looking to get past it

I had every intention of killing myself yesterday ...I screwed it up then had time to think about it.

I felt as if my bucket had overflowed and all I could see was the colossal road filled with my failures as a parent to my kids, to my best friend, to my marriage , to the world in general. Now I need to know how to put this right and pick up the pieces and go from here.