pump runs then10 seconds later shuts off

recently bought a california pentair pump  aboutweek in 1/2 ago…hooked it up…now it runs but it shutoff in 10 seconds…then i restart it dies same thing…any thought in whats causing this …thanks

brand new pentair ca model…runs…shuts off in 10 seconds…anyone one knows the cause…thanks