My Number Was given to advertisers after turning on 2FA

Hi I recently activated 2FA on my work github with my phone and now I’m getting spam texts every once in a while. What can I do about this?