Repaint the wall with at least two layers of your new color. If you are painting on a darker color using a lighter color, you may need more than two layers to prevent the previous color from appearing. If the surface is still fine and you just want to cover up, then it's okay to repaint the painted walls.