How do I figure out if I want to have sex? (Post-trauma)

Anonymous asks:
Is there a good way to figure out if you want to have sex? Two years ago, I left a relationship in which I had sex that was extremely physically painful, in which I was shamed and blamed for that pain and he threatened to leave me if I showed any "lack of enthusiasm". Since then I have not had sex....