Should I file my federal tax return based on already-filed tax forms or amended tax forms?

I just found a mistake (1040 Schedule D) on my 2018 federal tax return which will affect my 2019 tax filing. I need to file an amended federal return at this time point but it probably takes months before it gets corrected. If I also want to file my 2019 tax return at the same time, should I file it based on the amended version or the wrong version which has been accepted by IRS last year. Or should I even wait till the amended version gets accepted before I file my 2019 tax return? Thank you.