By not using proportion response, but overwhelming the enemy. Not to mention using nuclear weapons.
Grenada in 1983, an impressive US victory, was an exception. However, there were less than 300 casualties on both sides, so it can’t really be called a war, which requires at least 1,000 casualties.