If you are ashamed about your past, it is unlikely that you will be able to appreciate the present and look forward to the future. Accepting your past as the thing that has shaped you is one of the ways to start loving yourself. If you came from a bad place, let it be a reminder that you are better off now or that you can be better off.