Keeping your home, homelessness and evictions

What to do if you are facing eviction or losing your home including how to get legal help; also advice on how to deal with squatters.