The IRS will never, unsolicited, call you on the phone. Period. 

The IRS will never email you. Period.

The IRS will never message you. Period.

If this happens to you, do not panic. But do get up to speed on how to report it using this link:
https://www.irs.gov/uac/Report-Phishing