If it's a rear one it screws back in, try to find something the fits snugly in the groove on the piston. If it's a front one then there's no trick, just needs pressure. If you've replace pads then watch the reservoir doesn't overflow if it's been topped up recently.