Training neural networks is tricky. One should be careful that his model is good enough to learn from existing data, and good enough to generalize to unseen data. The lack to generalize a model is mainly because of a problem called overfitting.