Symmetries and differential equations