Code recovery

Someone please help me!!!! I've literally been trying to access my yahoo account for hours, Started out as new device sign in,hadda change the password and now I need a recovery code.. Only problem is my yahoo account is the only option I have to send the code and I can't login.. Please help me