It depends on the manufacturer, as indicated above.
If it's a Dell, the company generally posts thorough instructions on its web site for replacing parts/components. That's been my experience, so far.
May The Force be with you.