Step 1: Log in your gmail on the computer, laptop.
Step 2: Scroll down the bottom of your inbox. You can see the small line "Last account activity"
Press “Details” button right below it.
Step 3: Choose “sign out all other web sessions” so now you could log out your gmail from all other PC and laptops.