How to stop pastry from shrinking

I do that most of the time, the dough still shrinks.