Plot your val_accuracy and see after how many epochs it starts dropping, that is where you should cut the training off, alternatively, train_loss will start becoming very less when your model starts overfitting