You never have to do any defragging, because that's only something that applies to spinning mechanical hard drives.
Other thing is there are not any true viruses or worms on Android, not in the same way they work on Windows. There are malicious apps out there, so be careful about what you might be installing and where they're coming from. Google and Amazon should be OK though, and try to avoid installing pirated warez and stuff from Chinese app stores.