2011 Nissan Altima motor issue. Advice needed!

It could be something basic like a loose or corroded battery connection. That should be the first thing to check before an all-out diagnosis. Checking for codes could help if you’re lucky.