Depends on the hosting.
For hosts that have their own name server, change the name servers of your new host. For others, first make your domain point to your registrar's nameserver, and then create an A record pointing both www and @ to the new server IP.
Edit: Oh... so your domain name is registered by wix? I don't think you can change the nameserver for the free domain wix provides you... Contact their support nevertheless.
Edit 2: WIx does seem to support transfer...
Check this out:
Code:
https://support.wix.com/en/article/transferring-your-wix-domain-away-from-wix-2477749
Edit 3

D ): Ok after seeing the screenshot, it does seem that wix has DNS panel too. So, my reply above should work perfectly. No need to transfer the domain.