For New Android Versions (Oreo, Pie, Android 10, 11 and 12)

1
Go to your Android Settings > Apps & Notifications.
2
Select Advanced or the three dots at the top-right corner  users might see either option depending on their device.
3
Select Special App Access.
4
Choose Install Unknown Apps.