can't cum?

when I'm having sex or getting eaten out or get my clit rubbed I can't seem to cum and I feel like my partner feels discouraged because I can't and I told him that I can't/don't know why I can't and he seems understanding but still why is this happening?