Remove the charger from the laptop.
Turn the laptop over and locate the battery slide lock. Slide the switch and gently lift up the battery.
If you are replacing other components, leave the battery out.
If you are only replacing the battery, reverse the steps to install a new battery.