Have you changed the passwords? That would be the first thing I'd do.
You may need to do more, like backing up all your data from each platform and factory resetting and/or reinstalling the operating system, but that's only if you can't keep them out via a password change. I would also, of course, be running antivirus and antimalware scans on both before changing the passwords, or changing them, running the scans, and immediately changing them again.
If you used those passwords elsewhere, say e-mail accounts, Facebook, etc., then you need to change all of them that use the same password(s).
Brian AKA Bri the Tech Guy (website in my user profile) - Windows 10 Home, 64-Bit, Version 1803, Build 17134
. . . the presumption of innocence, while essential in the legal realm, does not mean the elimination of common sense outside it. The willing suspension of disbelief has its limits, or should.
~ Ruth Marcus, November 10, 2017, in Washington Post article, Bannon is right: It’s no coincidence The Post broke the Moore story