How large is your cage? How deep is the bedding? How long have you had him? Newer hamsters will generally try all in their power to escape from their tiny prisons. Try scattering a bit of food about and offering food chews like whimzees or greenies to keep him busy. The cardboard will help stop the behavior itself, but it's also important to get to the root of the issue