How to keep motivating yourself?

Whenever I feel like giving up on my goals, there is always a voice in my head that reminds me of how quickly I will regret not completing what’s important to me. In other words, if I don’t do it now, I’ll regret it later.