To achieve stiff peaks when making meringue for cake decorations, gradually add the granulated sugar to the egg whites while beating them. The sugar will help stabilize the meringue and create a glossy, stiff texture that is perfect for piping onto cakes.