Post Nexus 5 Lag

I hv encountered a bit lag in my nexus 5 in games lyk subway surfers and candy crush saga(just 2 or 3 tyms) and also my fone hung once..how to fix?