The very first thing.
Pakistan military plans for war, an all out war, with all the aspects in mind, even if its thrown in a smaller conflict or a skirmish. The options to use which weapon in which scenario, to deploy which force, to arm which aircraft/ship with which weapon, and to take the conflict up to which level (say out of 10) is decided beforehand in peacetimes.
During any conflict, the plans keeps changing with variables as the development comes through updates in circumstances. The conflict leading up to a war, and having that upper hand against a bigger enemy is always there. A superior India if can subdue Pakistan in a conflict will have higher chances of subduing Pakistan in a war, therefore a delicate balance is kept to end the conflict before it turns into an all out war and likewise all the options are kept on table to mobilize forces for an upper hand if war is thrusted on Pakistan. This is done through formation movement, deploying reserves, bringing up reinforcement, readying the logistics line for a longer duration, initiating global talks on diplomatic front, calculating the damage which Pakistan is prepared to do to India and calculating Indian response for every damage that Pakistan incurs on India. I have discussed just a few factors so far to give you an idea.