Your problem can be so complicated it is hard to comment on with so little background.
First you need to figure what has made you feel the way you do about sex.
These flashbacks might be the result of programing - on TV. You have a problem with sex....what happened in your childhood? Many people try to fix their problems by relating to what they see on the tube.
Even if something did happen in your childhood remember your memorys are the memories of, say, a five year old. Hardly a desired perspective to base a lifelong hangup. Work at NOT blocking the memorys, varify them and confront the abuser.
You are tough to have gone to bed with a dirty and nasty man for 10 years.