The main reason you need to shake an aerosol can well before using it is to mix the product (substance) and propellant well before use. This will maximize the effect of the mixture and make it work more efficiently to draw expected outcomes.