my mustang dies when i try to turn on the lights? on 1996 Ford Mustang

i put a brand new battery in and my car wont start. however i can jump my car and it will run. but the second i turn on my headlights it dies.

Asked by for the 1996 Ford Mustang
try testing the alternator