It depends.
If you have used the AOS-based EAD and the primary applicant is H1, you can go abroad to apply for H4. Otherwise, you have to go abroad to apply for H1. Both are high risk.
If you are AOS and you don't want do either, just stay in home since you are AOS.