How do you get a game published

I am making a game using the UE4 and I am just wondering how do I get it published when I’m done?

Depends. What are the target platforms? PC, mobile, console, web?