Burn in can happen with any phone using an AMOLED screen (in other words, all of the popular/flagship phones today). It happens because the pixels wear out over time and have reduced output. There are things you can do to help prevent or delay it. Use dark themes where possible, keep brightness on auto or at a lower level, and don't leave static images on the screen (which I know is impossible if you use a single app a lot).
You can get the screen replaced, but it'll likely happen again if you don't change your habits. You could also get a phone with an LCD screen, but no top end phone has them today. I still see some second/third tier phones with LCD's, but the last flagship that had one was the LG V20 released in 2016. Otherwise, I'd suggest a stand alone GPS unit if it's needed that badly.