Yep- you get a perforation gun that fits inside the production tubing. There are lots of gun sizes- look at teh service company website to see them all.
If you have the tubing in place, you will also have the christmas tree in place, and the perforating will be done with pressure control equipment such as a lubricator, to allow you to remove the guns from the well without opening up the well. You could, if you want, perforate overbalance, so that the well won't flow, but that upsets the production people.
Other methods of perforating include doing the perforations before you have run the tubing, so you can use big guns, but you have to kill the well to run the tubing, which might be bad for the reservoir; or on the end of the tubing string, called Tubing Conveyed Perforating. This gives you big guns, no worries about killing the well afterwards and you can perforate underbalaance. But the guns either stay there (which means you can't do any productiuon logging) or the guns are dropped (which means you have to drill a long sump for them to fall into).
A good textbook or trawl through the service company websites will give you a better discussion of the perforating options avaialble and the pros and cons of each one.