Chosen Solution

My iPhone 2g I bought from swap meet turns on and shows the apple logo it then it turns off

Connect the charger and check whether any sign of battery starting to charging As this is old iPhone, you can check with a new battery if above both steps not worked, you can restore the phone via iTunes