If you have a monster that cant be attacked like an earthbound immortal and equip it with a card that makes it so you're opponent can only attack it what would happen?

the person is not allowed to atack until the equip card is destroyed