Guitar going out of tune very quick

Hi friends, i just purchased my first electric guitar. I got this fender strat from guitar centers website and i ordered it as “new”. Not even 10 seconds after putting the guitar in standard tuning, the strings all went out of tune after a few strums. Does anyone know why this might be happening and how to fix it?

Hi friends, i just purchased my first electric guitar. I got this fender strat from guitar centers website and i ordered it as “new”. Not even 10 seconds after putting the guitar in standard tuning, the strings all went out of tune after a few strums. Does anyone know why this might be happening and how to fix it?