Hi alexisblessing
In order to preserve the quality, you need to be aware of rasterization.
Basically, when you draw a vectorial shape, you can rotate it any number of times, it will never loose quality.
If you draw with the pen tool, then it rasterizes the layer, so previous information is lost. So if you rotate it again, it will get a bit more blurry.
To make it simple, if you use raster tools (pen, brush, eraser, flood fill, distortion), then try to do it on a separate layer, in order to avoid rasterizing existing content. The only non lossy transformation you can do is to move the layer, flip it vertically and horizontally.
If you need to transform many times, use vector tools only (polygon tool, curve tool...). You can check anytime if what you do rasterize the layer by look at the icon near the layer. Vector layers have a circle and a triangle. Raster layers have a square with a grid.
Regards