A paedophile from Wigan who breached a sexual harm prevention order just weeks after it was imposed has been sent to prison for four years.