If you're on a desktop browser, click the Person icon next to the Bag/Cart icon in the top right corner. Under your name on the left side of the screen, click Log Out:
On mobile, click the 3 line menu button on the top right of your page, then select (Logout) at the very bottom of the page.
If you are still having difficulty, you can clear your browser cache to logout.