Optimum number of epochs

When the loss is calculated for 100 epochs at the 100th epoch the loss was 23 but at 99th it was 16 but the predictions were made for 23. Wouldn’t it be better to use 99 epochs? Does it tell anything or am I going in the wrong direction?