You can either use a DeX cable (USB-C to HDMI) or pretty much any HDMI dongle or a hub that lets you connect your phone to a monitor or a TV. Galaxy S-series and Note phones can also use a DeX Pad ...
Below is the list of accessories I recommend picking up to have a solid Samsung DeX experience. This JSAUX USB-C to HDMI braided cable is Thunderbolt 3/4 compatible, and it's available in a bunch ...