If the rulers are visible, right click on the ruler and select Delete All Guidelines.