Early retirement in NM

I retired early from teaching as of 31 Dec. 2022.  The only thing deducted from that pay is federal tax.  Since it is my retirement, I don't owe Social Security and Medicare taxes on it, do I?  And I was a teacher, so officially I am a state employee, so will I owe state taxes here in New Mexico on my income?