Cannot decide between Android Lollipop 5.0 and iOS 8

I can not decide between Android Lollipop 5.0 and iOS 8 , which one should I buy ? I really need to buy a new phone and I need a reliable system for work that does not freeze and crash often and is also fast , can anyone shed some light on this matter ?
