There are two axes of approach I can think of for this. One is to use an interval plan like Couch to 5k so that you have clear intervals. With an app, you'll even be prompted without having to think. The other is to distract yourself from the tedium of the run by listening to something like a podcast, audiobook, or audio drama.
Personally, I combine the two with the Zombies, Run app. In the first season, you get the interval training, interspersed with a fully voice acted drama. Later seasons, it's however you want to run, with further audio drama (although there's an option to turn on "zombie chases" which randomly force you to increase your speed for a time). I know they offer several other "virtual races", often in conjunction with charities.