If you owe money to the IRS, your first encounter will not be a phone call or text message. It will be a letter explaining what the IRS thinks you have done and telling you how to respond.
Never give out personal information or financial information over the phone. If someone demands payment “right now,” tell them so send you a letter (but don’t give out your address), and you will give it to your attorney to handle.
Call your attorney or tax preparer if you have any questions. Sometimes it’s legit – but phone calls and text messages demanding payment are SCAMS.