What can I do if my landlord or someone buying my place wants to move in?

This tip sheet gives general information about what you can do if your landlord or someone who buys the place that you rent wants you to move out so that they can live in your place.