Why do you think the IRS rejected it? Did they mail you a letter? Accepted only means the IRS verified your identity and accepted your tax return for processing. Then they process it. Then they Approve or Deny your Refund.
Did you maybe file a second time from another account or add another W2 or something? You can only file 1 time.