The answer to your questions is that I guess that there is not a set time as each one of us is different and thereforeeee it is very much up to the individual involved and what they have experienced in life with the ex.
In my case my ex both mentally and physically abused me and went onto have an affair with a woman he was working with and went back to her on three occasions,the last being when I caught him out.I still have some issues three years after finally breaking up with him.I have a boyfriend now but because of the way my ex treated me and the scars that have been left there have been and there are still times when my confidence is running low and I as a result have become over sensitive.Time, they say is a great healer and I hope one day I will be fully healed as I am sure you will be.In the meantime enjoy yourself,respect yourself and just take things as they come.
Peacex