Setting headings etc

How do I set headings 1, 2 etc in writer so when I click it always remains the same. At present it changes back to what has been set by you.
I use libre office Version: 4.2.4.2 Build ID: 420m0(Build:2)

Refer chapter 7 of the Writer v4.1 User Guide on using styles.