Public officers intending to contest in the upcoming by-elections must resign from their positions within seven days of the official declaration of vacancies.