if your I-140 is denial, you can not get the H1 anymore unless you stay outside US for one year. But if the PERM is approved and your employer has the ability to pay you prevail wage, normally your I-140 will be approved