^^ this. Keep in mind that the HPV vaccine doesn’t protect you against ALL strains, and also, if you have slept with someone that has HPV there’s a good chance you’ll contract it regardless of being vaccinated.
But yes, if you are diagnosed with HPV it’s your responsibility to alert any sexual partners you have, because there’s no cure for HPV. It might be common but that’s no reason to give someone else a disease that they’ll have to live with for the rest of their life.