Sometimes food particles stick on the spray arms and becomes smelly. In this case you have to follow the below steps for the cleaning of spray arms;
Remove the both spray arms of your dishwasher.
Wash them with pressure water and clean them with soft brush and soap.
Repeat this process if first time not cleaned well.