I tend to help & put myself out there for multiple times until either my help is not needed or I have the heartbreaking & frustrating realisation that I'm putting in more time & energy to help this person than they are putting in to help themselves. That's when I walk away. Sometimes for good but sometimes I just have some space while I detach from the persons problems/issues & then let the friendship back into my life but with boundaries & less investment on my behalf.