If you have a Google account then your contacts can be saved to that which is cloud based. This means you don't need to take action to save them separately and you can also access them from any device at
https://contacts.google.com/
If you prefer not to use Google then you can backup phone contacts using Samsung Cloud backup