Re: "Subscription : I’ve paid for Apple Music 4 days ago but my subscription isn’t working
because it says it’s been canceled which I didn’t do why is that ..."
Wondering just where " it says it’s been canceled" / eg: In your subscription list, in the Music app or?
Check in Settings->Your Name->Subscriptions
You might want to check whether or not the subscription payment transaction actually went through to Apple: Eg: check your payment method's provider's statement.
and
View your purchase history for the App Store and other Apple media services - Apple Support
_____________________________________________________________________
Re: " ... and how can apple help me restore my subscription like I have paid for "
As we are all Apple users, like yourself, in the community no-one here has access to your accounts and details.
The two websites below each have a "Get support - start now" link at the bottom of the webpage.
You might want to reach out to the Billing and Subscriptions Support team: (eg: via online chat / phone / email etc.) Website: Subscriptions and Billing - Official Apple Support
Apple Music also has a Music Support website online (info. / support / contact options etc.)
Website: Music - Official Apple Support