Belarus is just there for “moral support” (and staging when they were trying to attack Kiev).
If Putin declares war against Ukraine, then Belarus is obligated by treaty to join Putin’s war.
If Putin declares war on Ukraine tomorrow or on Oct 1, Lukashenko and his troops will need to join the war by Nov 1.