Do not defrag an SSD. <-- There's a fullstop there. <-- And here. (If you understand my meaning.)
Never do it.
HDDs are a storage room full of boxes, you rearange things back to where it belongs like tetris to get the most room and if by choice, put the most used things at the front.
SSDs are like a bucket of water. It's always an even distribute surface. No matter how much water goes into the bucket.
There is a purpose to moving boxes around in the storage room.
There is NO purpose, to scooping a cup of water, and dumping it back into the bucket. It's a pointless exercise.
Defragging an SSD only wastes your write quota, and you accomplish.. NOTHING.