Click a ship, then a square, or drag it.
PDCs defend against torpedoes on their own. Right-click an enemy to make it the target.