There are widely reckoned to be 7 P's but 6 is used for a politer people.
They are Prior Planning and Preparation Prevent P*** Poor Performance.
What it general means, is if you do not plan for it, WHEN it happens you are in the Sh..
I use it in my signature, as have used it a personal motto...