Pre-seed help...

How soon can I use pre-seed? Do I use it only before sex? How long thoes the lub work inside of u?