How did US enter World War 2?

The Japanese attacked the USA at Pearl Harbor Hawaii on December 7, 1941. Germany (and Italy) declared war on the USA a short time later.