My ex emails me that he dreamt about me what should I do
Ignore them. Your ex is just trying to get your attention and is regretting your brake up.
File a restraining order.
Nothing, he's your ex for a reason, never forget that.
Ask if it was an erotic dream or not