Is it on live food at the moment? Some fish take a while to get on pellets. As cruel as it might sound many people get their fish to take pellets by starving them for a few weeks (don't worry, most fish can go weeks to months without eating and show very little signs of it's effects on their body). You could also try putting some garlic extract on the pellets to help stimulate it's appetite.