You cannot simply take an earlier train, as night train tickets are always linked to a specific night train.
Depending on the price category, you can change or cancel your journey up to a specific deadline and possibly for a fee. See our blog post Can I change or cancel my ticket?