Make sure you don't put any meat or dairy in your compost - it will go funky and attract nasty interested creatures!!

My main tip is you need GREENS and BROWNS.

Green things are like veggie peelings, grass cuttings, etc, and are high in nitrogen.

BROWNS are things like straw, dried leaves, shredded soaked newspaper/cardboard, etc which are high in carbon.

If your compost is too wet, smelly, clumpy and mouldy, then you need to add more BROWN.
If your compost is too dry, or isn't breaking down, then you need to add more GREEN. Simple!

And finally, the more you turn it, it smells less, cooks hotter (killing weed seeds etc) and is ready sooner!