Aside from the following,
1. Broaden your horizon
2. Have a program of life
3. Make a difference
What one can do to regain the life purpose?
Life purpose is having personal gratification from reaching ones goals. If it happen that you lose your life purpose, start by assessing your own happiness. Find the things that could make you happy maybe eventually you can find your purpose back again.