How to ‘deep clean’ your online activity

What steps can you take to avoid old online posts coming back to haunt you?