Samsung Note shutting off
Are you saying you bought a used phone from another person (not a store) like from ebay or craigslist? 

If so, it could very likely be a worn out battery. If the phone was advertised as problem free and fully working, and especially if it was advertised as brand new when clearly not,  you can pursue a return through whatever site you bought it from.