Go to settings, choose: Sound and vibration. There is a section: Ringtone. Press a window is displayed with various music platforms, go to which one you want and select the ringtone you want to install. It's simple.
Go to contacts, select the desired contact, go to it, the default melody, select the desired melody and that's it. There is absolutely nothing complicated in this. I think you'll figure it out.