Is the battery symbol (in red) on in the tachometer after starting? This usually means an electrical system problem; dead/discharged battery, broken/loose drive belt or belt tensioner, alternator fault or blown fusible link wire to the alternator or blown fuse in the engine fuse box.
Searching for Nissan Altima forums with members having the same model share free info dealers and repair shops aren’t willing to provide. If the red symbol is for the battery, either charge it or visit Autozone or similar auto parts store selling car batteries. They’re more likely to have battery testing equipment and may provide free battery testing in the vehicle or brought into their store. Alternators can be tested the same way. Look in the engine bay for a missing or loose serpentine drive belt. This drive belt supplies power for the power steering pump, water pump, alternator and ac compressor.