You can file the attached form in the Maine District Court if you get court papers saying that your home is being "foreclosed." You must act right away; there is a 20 day deadline.
On this page you can find forms that you might need to handle your own foreclosure case. For more detailed information, see Can I Save My Home from Foreclosure? and Home Mortgage Foreclosures.
A fill-able .pdf of Maine court form PB-03, the Jurisdictional Affidavit that must be filed in District court with any adoption, minor guardianship, or minor name change case.