If you have misplaced your original letter sent from HMRC with your National Insurance Number, you can request they send another copy for your records to the address they have on file. You will have to prove your identity before they can do this.
Alternatively, you can find your National Insurance Number on things like, your payslips, letters from HMRC about benefits or through the HMRC app.