This question's answers are a community effort. Edit existing

I activated the code generator tool, activated it, registered inside it and synchronized with it on several accounts, and when I formatted my phone, I lost access to my accounts on social media. Please help and solve my problem quickly.