Technically there two substances that keep you motivated, serotonin and dopamine. Gotta keep their level high, regular physical activity and exercise helps a lot.