You should have everything done to the wall that you are going to do to it, including
...»
extensive cleaning, before painting it. You do not need to 1-coat your walls with spackle (mud) before painting unless there is damage to the smooth wall surface, usually from wallpaper removal, patch-ins, etc.