@niharika patlan
If you still have access to the subscription you should be able to cancel the subscription and delete the resources. If you are unable to access the subscription the resources will automatically be deleted after some time once the subscription is Disabled. You can read more about subscription states here.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts. If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community. Thank you for helping to improve Microsoft Q&A!