He takes me for granted

My husband does not kiss me anymore only if we have sex..
He neveeeeeer gives me compliment.
no attention at all .... i feel so unlucky and i am so depressed i just wanna hurt myself so i can get his attention.. what should i do ?????