Changing HDMI output resolution

I bought a small 3.5 inch display wich is mounted to my rig and connected to the primary GPU (rx5600 xt) via hdmi. The system outputs the video signal but due to the size and resolution of the display it is unreadable. How do I change the default output resolution or font size?
Thanks in advance.