To beat Contra 4 on Nintendo DS, you need to defeat the final boss.
Like most Contra games, success depends on quick reflexes, careful dodging, and making the most of your weapons.