Borrowed from Latin stilus. Doublet of stelo and stile, which were inherited from Latin and borrowed from French respectively.
Practice speaking and memorizing "stilo" and many other words and sentences in Italian.