can anyone tell me when does the REM cycle end after waking up?

for example is when is the right time to do wild during nap, if i wake up at 10:00?