2nd Display Support: Dual/Mirroring* 2nd Max. Resolution: 3840x2160 (x2*)
Details: *This model supports a simultaneous maximum resolution up to 3840x2160 on two external displays via Thunderbolt 2.
Alternately, it can support a single display up to 3840x2160 via Thunderbolt 2 and
a single 1080p display at up to 60 Hz, 3840x2160 at 30 Hz, or 4096x2160 at 24 Hz via HDMI.
from:
https://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i5-2.7-13-early-2015-retina-display-specs.html
if you use plug an HDMI cable into the built-in HDMI port, you can get up to 30 Hz at nominal "4K" resolution.
Alternative connections using adapters may be possible. You did not post the make&model of the display, so readers can not research alternative connections for you.