What port should I use to hook up my PC to the monitor?

HDMI carrys audio as well, so it is a good choice. VGA is old, so its best not to use it. DVI and HDMI are both digital, while VGA is analog, so VGA's image quality can be limited by the cable, while the others can not. DVI is a good choice, but HDMI is most popular. I'd go with hdmi or dvi. Both are equally good.
 
Well I have a monitor that I intend to use with a PC and a ps4. Should I use a HDMI splitter in this case? If I opt for a DVI-d cable instead then should the HDMI end plug into the graphics card or should the DVI side go there?