Anthony Joshua said that athletes who are caught doping must be punished, but explained that all bans should be decided on a case-by-case basis.