Wait until the cupcakes are cooked and cooled. Put your filling in a pastry bag with a Bismarck tip. Poke the tip into the top of the cupcake and squeeze gently until the cupcake starts to expand slightly.