If this is a theme that you’ve downloaded and you want to make sure you are able to update it in the future, create a child theme before you make any changes and then make the changes to the child theme*.
*I’m pretty sure this is best practice, but somebody else correct me if I’m wrong.