Move the crosshair over the robots using the mouse to automatically attack them.
Click the reload button for a manual reload. Alternatively, let the clip count reach 0.