How to record the user's screen

How to record the user's screen