You can easily explore the town itself in just an hour or two if you make this a day trip from Milan. However, staying a day or two is really nice and will give you the opportunity to take in the incredible beauty of the lake. There are really beautiful options for accommodation with stunning lake views.