[header] How to change a chain on a mountain bike [title] Secure your bike. [step] It's unlikely that your kickstand will be sufficient for you to get a good look at your bike without it falling over. A bike rack that has hooks from which you can hang your bike works very well, but you can also turn your bike upside down so it rests on the seat and handlebars. 
[substeps] Inspecting your chain with your bike's wheels facing upwards will make it more comfortable for you to inspect and work on. You can make a simple bike rack with scrap parts.