If you’re unhappy and wish to withdraw your offer on the home based on the home inspection, let your realtor know. It should be a subject in the offer that will allow you to withdraw the offer after inspection that didn’t satisfy you
If your realtor put subject conditions in your offer, then you will be unable to waive or fulfill your contract due to the negative home inspection – thereby breaking your commitment to buy the house.