1997 Ford Taurus would not start

I have a 1997 Ford Taurus and I just bought an alternator and a battery. The car started right up and ran for one day. The following day it started up but shut down completely and would not start back up.