It’s a good idea to wash a pineapple, as any contamination on the outside will come into contact with the inside via your knife. Use a veggie brush—the kind you use to scrub potatoes—and do the best you can. It’s a little tricky, but it’s still important!