1) Wake up either naturally or by alarm during or towards the end of a REM cycle. Lay still, keep your eyes closed and search for dream memories.
2) Record dreams from Step 1 with either pen and paper or electronic media.

I don't think there's any other way.