You may use your targeting system to attack any hostiles. Once your target is activated you can aim at any hostiles you meet. The sight will indicate when a hostile is in range.
De-activate the target system once a hostile is in range to start a battle. Once in a battle, fire your weapon when the target is aligned with the hostile to be hit. Remember that your weapons are less effective at greater distances.