How to deal with pain and hurt?

Following is an excerpt from a samvaad (dialogue) session with Acharya Prashant.

Questioner: How to deal with pain and hurt?

Acharya Prashant:

Dedicate your time to something sublime, and then you will not be available to get hurt. You are hurt because you are available.