Good UX practices for 2 factor authentication 2FA

I am designing a mobile app that must use two factor authentication. Do you know good practices or research in that field?

One of my concerns is that non tech savvy users may get lost or confused if they would have to switch between my app and the app generation one time password.

R