A pump that loses prime is sucking air somewhere between the pool and the pump basket. Work this list in order — the cheap causes come first, and they usually are the cause.

★ 4.7 stars·8,000+ followers·10M+ views
Your pump moves water, not air. When air leaks into the suction side, the pump can't pull a full stream, the basket churns with bubbles, and eventually it runs dry — which overheats and damages the pump. Every cause below is an air leak or a water shortage on the pool side of the pump.
The simplest cause and the most overlooked. If the water sits below the middle of the skimmer opening, the skimmer gulps air — especially with swimmers splashing. Fill to mid-skimmer and see if the problem goes away before you touch a wrench.
The lid o-ring is the number one air leak I find. Take the lid off, clean the groove, and look at the o-ring: flat spots, cracks, or a stretched ring won't seal. Lube it with proper o-ring lubricant — a lubed, healthy o-ring seals; a dry, tired one breathes air. Seat the lid evenly and snug.
A clogged impeller (leaf bits and acorns get past a cracked basket), a broken pump basket letting debris through, or a suction line partly blocked will all starve the pump the same way an air leak does. If the basket is cracked, replace it — it's cheaper than an impeller.
If the pump runs dry and hot, smells burnt, trips the breaker, or loses prime again within hours of a full re-prime after you've done the checks above — stop running it dry and get eyes on it. Running a pump dry is what turns a seal job into a motor job.
Text Rex a photo of it — a picture answers faster than a description. Or call and talk it through. No pressure either way.
Leave your name and cell — Rex himself calls you back. No call center, no salesman.
Got it
Thanks — Rex will call you back.