If you’ve been laid off on H1-B, you’ll be given a grace period of 60 days to find an alternative employer who can sponsor your visa. If you’re not able to find a new opportunity within this time frame, it may be worth applying for an F-1 student visa or a B-2 visitor visa.