Apple id lock
So i put my id on a phone number i no longer have and its asking for the verification code so i can log into my account but i cant get the code i want to add another service line on my phone but i cant because i cant log in i can still use the account but its not logged in on my iPhone specifically what do i do
iPhone XR, iOS 15