1 way is to go on peaceful the 2ND is reaaaaaaaaaaaaaaaaaaaaaaaaaaally hard with creepers though XD you soround your building site in any material then your safe. 3 is just to stay 16 blocks away from them or make lava traps or any kind of trap