should I sign up for Medicare

I am 66 years old and when I turned 65 started to sign up for Medicare

My wife has a Family plan that covers me and also an HSA account. When I was signing up it mentioned if I was covered by an HSA account I could not sign up for Medicar. Is that true