Explain why you self-harm, how it makes you feel and why you are sharing this with them. If you can identify them, you may want to share any underlying emotions or situations that caused it and what possible triggers are.
Give that person time to process everything. It may come as a surprise to them and reactions could be shock or fear out of concern for you.
Consider showing them this eBook to help them understand self-harm and how to help.