You can:
Try to find fun activities or hobbies, which do not worsen your pain.
Spend more time with family and friends.
Reintroduce activities, which you had to quit because of the pain. But be gentle with yourself.
You can talk to a psychologist or an occupational therapist.