How do I design an IP standard housing to keep my electronics safe?

I am working over a design of hosing for my electronic components so what are the specifications i need to keep in mind while designing an IP standard design.