Failed mine first time too.
Nerves probably, but my first leg involved a Class D transit which was refused. What I did next was the start of a slow, painful and inevitable airspace bust which was halted about 1/2 mile before I entered by the examiner. Crushing experience to hear 'I have control' in the middle of your test!
A very good debrief with the examiner, not even mentioning the subject of flying but more the subject of 'captaincy' and I redid the nav section a few days later and passed.
And 200 hours later.... my landing on return home last night was bounced. It does happen from time to time!! On that score I find I can go weeks without a bad landing, then I start thinking I've got the hang of it and along comes the next bounce.