What Would Happen if a Foe Attacked a Navy Aircraft Carrier?

How would the United States react, and how would it respond?