Upgrade melee weapons instead of wasting ammo
Never waste your ammo, especially in the early game. Instead, upgrade your melee or energy weapons as they are not going to run out of usage. Energy weapons recharge over time and melee weapons don’t need ammo. Use the guns only when the timing requires you to use them.