There seems to be an endless incidents of scams regarding HMRC. As soon as one has ended another two pop up
HMRC have given guidance which will help you identify these https://www.gov.uk/topic/dealing-with-hmrc/phishing-scams
If you feel that you have been contacted inappropriately then you can also use the link above to report them. You should, if possible, supply the following information
Overall just be careful and never give out personal information, its best to tell the caller to contact your accountants.