Aspirin is used to relieve mild to moderate pain; reduce fever, redness, and swelling; and to help prevent blood from clotting. It is used to relieve discomfort caused by numerous medical problems, including headache, infections, and arthritis. It is also used to reduce the risk of a second heart attack or stroke.