Attraction

I know this sounds awful but I have a hard time being attracted to my husband enough to have sex with him. I think it's the way he treats me sometimes, I just need him to be romantic, etc. has anyone else ever had this issue? and what did you do about it?