In the first part of the paper we consider periodic perturbations of some planar Hamiltonian systems. In a general setting, we detect conditions ensuring the existence and multiplicity of periodic solutions. In the second part, the same ideas are used to deal with some more general planar differential systems.