After the town sells your home at a tax sale, you can still get your home back. This is called the redemption period.
You have 12 months from the time of the tax sale to pay the town the amount of money it sold your home for at the tax sale. If you pay the town the whole amount plus interest before the 12 months are up, you can keep your home. Also, you may continue to live in your home for the whole 12 months even if you don't pay the taxes during that time.
You should talk to a lawyer as soon as you can if you are behind on your property taxes and threatened with a tax sale.