Select All Layers: Click on the layer panel and choose all relevant layers.
Use Auto-Align Feature:
Navigate to Edit > Auto-Align Layers.
Choose the desired alignment mode, such as Auto, Perspective, or Cylindrical, depending on your project’s needs.
Refine Alignment: If necessary, tweak layer positioning using the arrow keys for pixel-perfect adjustments. https://forupon.com/how-to-align-dds-layers-photoshop-online/