Hello dinara35,
request the refund as soon as possible here:
https://reportaproblem.apple.com
Sign in with the Apple Account used for the purchase, choose “Request a refund”, select the yearly subscription and briefly explain that it was bought by mistake.
Also cancel the subscription so it does not renew again:
Settings > your name > Subscriptions > select the app > Cancel Subscription.
Apple reviews refund requests individually, so nobody here can guarantee the result.
Apple’s instructions:
Request a refund for apps or content that you bought from Apple - Apple Support