Hello BP community!

Let me begin by saying this is my first post, so forgive me if I’m posting in the wrong place or if I have errors in the questions I ask!

My name is Sean and I’m 20 years old, work a part-time job, and am in the beginning stages of learning to learn about real estate, networking, investing, etc. etc. I was thinking earlier and my question is this:

Say you had a couple of lenders who lent you money for a deal after you provided them with the plans for a house, arv of the house, projected cash flow, guaranteed ROI and things like that. If the property was underperforming and you were losing cash on the deal, at what point would you decide to get out of the deal and pay back your lenders? How would that work? Again, I'm not sure if I'm asking the right question. Thanks!!!