I failed one portion of the NH exam. Do I have to retake both sections

Yes, you can take just one section. You still need to submit a new examination fee and the original passing and failing score report(s) before you can be rescheduled.