Thanks for posting in the Apple Support Communities mohini242,
We noticed you linked here from Get an Apple Music family subscription, and are looking to share your Apple Music subscription, but your spouse doesn't yet have access to it.
In addition to you both being part of the same Family Sharing group, you'll also need a family subscription to the service. If you tap Settings > [your name] > Subscriptions, does your Apple Music show that it's a family subscription? If not, upgrade your subscription to a family plan following these steps: Change your subscription from Apple
Additional information that may be helpful, is available here: Add a family member to your subscriptions from Apple
We hope this helps!