Notify the user about the realease of updates (for android)

How to notify the user about the release of updates. Like when a player enters the game and he has an old version, a window appears to him that he is using the old version, and by pressing a button, he is transferred to download the update.
(FOR ANDROID)

google play store update automatically the software. If you want to force it, read the last version in internet and if it is major than the installated one, open the play store