That should not have just happened on it's own, did you install something right before this? You should do a virus scan on the system with Malwarebytes and I like to use an off-line boot CD also to scan with, Avira and AVG both have a free one you can make.