This guide will be written soon. In the meantime, read the Italy SIM card buying guide.
Buying a SIM Card in San Marino Guide
Buying a SIM Card in Saint Pierre and Miquelon Guide