The default SolidWorks rotating controls can be a bit difficult to deal with, especially for beginners. If you frequently find yourself not knowing which way is up, try enabling this setting.

With a part or assembly open, right click the graphic area background (not on existing parts or assemblies) and click “Rotate About Scene Floor”

(insert image)