You can set up voicemail on your Android phone directly from the phone's keypad or its Voicemail app if it features one.
To add an email account to your Samsung Galaxy S10, go into your Settings app, and enter in your login information for the corresponding server.