It takes time. Maybe time outs (go somewhere on your own for the day)? Not as punishment but just to give yourself a chance to recover from the shock of it all. His presence reminds you of the trauma/what he did.

It is OK to be mad/sad. You are entitled to feel that way and even if you weren't--it's not wrong you just are.