Foreclosure is a possible remedy when the owner or original contractor does not pay the subcontractor. However, there may be other liens on the property, so there might not be enough money for everyone. All of the possible lien holders should be made parties to the case. Foreclosure is a complicated process. Legal representation should be obtained before attempting to foreclose.