need to know what to fix or where to start! on 1998 Nissan Maxima

Nissan Maxima,when i turn on radio,ac,and headlights it turns off on me when not excelerating.stop lights and stop signs are my big problems.also in the morning when i first start it i half to excelerate the the car in park to stay on?but before that my fan motor went bad it destroyed my altinatore and battery replaced it,and now i have this problem but befor the fan motor went it was great.where do i start to see what was damaged during this event?i have codes but auto zone guy says its not whats causing my car to turn off when using radio,ac,and headlights.codes69

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
What are those codes? This WILL help.