A man has been banned from entering Co-operative and B&M stores in the Bradford district.