When should I use 经验 and when should I use 经历?
As a Chinese, I think “经历” would be a better choice.


“经验”


“经验” often refers to some knowledge or work experience，for example，“I am expert in programming and algorithms”，then  I can say “根据我的经验，我可以给你一些编程技巧”.


“经历”


“经历” refers to some personal experience during life，study，work，travel and so on. For example，“I have a good travel to China”，then I can say，“我曾经在中国有一个美好的经历，根据我经历的事情（或者根据我的经历），我认为大多数中国人都比较腼腆而友好”.