That's a two part question really. Depends upon if the egg is still inside when she's prolapsed. If so, you'd treat it like an egg binding, which would suggest a warm bath to 'relax' the muscles and a calcium supplement to strengthen her contractions. If she's passed the egg, but her vent is...
Appears as if she prolapsed. Possibly during or immediately after laying an egg. You said that the problem has since vanished, that's good. Keep an eye on her to ensure that it doesn't develop into a problem.