You can simply connect your laptop using an HDMI cable. You can also connect your computer wirelessly using a Wi-Fi connection for screen mirroring.
Use your TV's remote control and select the source for screen mirroring. If you have a Windows laptop, go to settings and choose "Connected Devices". Next, click on "Add device" and select your TV. For MacBooks, you can simply use AirPlay. But make sure your TV supports this feature to screen mirror.