That's very little information and fits a lot of games. The two main ones that come to mind are probably Duke Nukem and Commander Keen. If it's neither you can scroll through this list https://www.abandonwaredos.com/abandonware-list.php?tp=1&kword=202 it's not complete but maybe you get lucky and recognize it.