Vacuum the top and between the wall and the floors.
Use an all-purpose cleaner with a white nylon scrub pad to get off the stuff that is stuck.
You can also use a pencil eraser for marks or scuffs.
Then apply warm water with a small amount of white distilled vinegar mix to finish the clean up.
Vacuuming regularly will help keep buildup away from baseboard.