Press it down, and pour in something heavy enough to press on the dough and keep it flat. Pay particular attention to around the edge of the mould, so that the pastry is kept in place and cooks "straight" on the sides.
I use lentils, but you can use
different things.