Question: how to stop someone from using your xbox live account?
Answer: Sign into your own Xbox One. An Xbox Live account can only be signed into one console at a time. This will force the second to sign out. ... 
Change your Xbox Live password. As soon as you change your password, all logged in devices will be forced to re-authenticate.