Hi Jacob. I'm Greg, an installation specialist and 9 year Windows MVP, here to help you.
Did they call you? Generally if they called you or popped up from a web browser warning about a virus, they are always a scam. No reputable tech support would cold call anyone.
Also scammers use others name like Microsoft or MyPhoneSupport so there's no way to know for absolute sure who they are unless you call them and then half the google results posing as legit are likely scams.
So it's best to come here for help and if you need referral we will know where to send you based on long experience and actual success rates, plus almost always free.
I hope this helps. Feel free to ask back any questions and let us know how it goes. I will keep working with you until it's resolved.
________________________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.