If you have saved your downloaded APK to your device's My File folder, toggle it on:
If you are downloading the Teamup APK from a browser, tap that.
If prompted, toggle Allow from this source on.
For non-Samsung devices
Go to Settings.
Tap Apps & notifications > Advanced.
Tap Special app access.
Tap Install unknown apps. Tap your local file location where you have saved your Teamup APK or the browser from where you will download the APK, tap that.