How long does it take to get your refund back if you had to amend ?

If you amended your return before it processed what will happen?