You need to call your local Nissan dealer and have them check for any outstanding recalls four your vehicle. If there are no recalls, turn around and take your vehicle to the nearest AutoZone, they can check the engine codes for you free. Post the codes and problem in the
Altima Forum and will be glad to help you diagnose it.