Why it say pending and I go to the IRS and it says that I have to wait for email where can I find out if something is wrong
Here is why
Nothing is wrong ... the IRS system is still is pre season / testing mode and few early returns will be accepted prior to 1/27 when the system officially opens ... early birds need to be patient.
IRS Announces the Start of E-File Test Batch(HUB Testing) for 2020
What does "Pending" mean?
Pending simply means that your e-filed return is on its way and that the government hasn't accepted or rejected it yet.
If you e-filed your return in January, it'll stay in Pending status until the IRS starts processing the backlog of returns.
After January, e-filed returns generally sit in Pending status for 24–48 hours before coming back as either Accepted or Rejected. Sometimes state returns stay in Pending for several days or even longer.
Keep calm and check back
Until your state or the IRS processes your return, you may hear there's "no record found." That actually means the return's still being processed. Just check back in a few days.