Hello shirin29,
First, please make sure these are the steps you are following to share your Health data: Share and view health data in the Health app - Apple Support.
If those are the steps you are following and the issue persist, further assistance may be needed. We want to make sure you reach the right team for help with your iPhone & Health data issue, so we recommend that you contact Apple Support directly. Depending on your region, you may be able to reach them here: Get Support - Apple.
Thank you for participating in the Apple Support Communities and have a wonderful day.