If you edited the parent theme, all the changes you made on it will lost. So, we recommended you to use the child theme. First find all the edited codes on parent theme and manage all from child theme. Look here the importance of child theme.
If you have any more confusion, let us know.