Build 12 Barrackes and select them all and one click on the marine and you will have 1 full squad of marines ready.
Cannot select multiple buildings at same time.
If you want to stop zerg, you have multiple options, but it needs some smooth maneuvering.
And it depends on the zerg strategy, especially if it involves lurkers.