Need advice ladies

How long after sex do you lie down flat for ? I lay down for 5 mins does that still count ?