Diet and lifestyle changes, such as getting enough sleep and practicing mindfulness, may help improve concentration. In some cases, difficulty concentrating may indicate an underlying health issue.