1、有ago 用过去时;
I went to Beijing 5 years ago
2、for后面跟一个时间段 ,一般用现在完成时;
I have been in Beijing for 5 years