Antibiotics only fight infection.
They do nothing to fix a bedsore.
When a sick or frail patient lays in one position for a long time and cannot move the pressure over bony prominences ( hip, tailbone, etc ) can crush and kill the skin in between the bone and the bed. Bad ones can even kill off the muscle. If this is infected abx will fight the infection. But if not there is no point in giving