If the door frame is loose, you can't fix it by putting some plaster on the wall; it needs to be secured first. Remove all the duct tape and then start by knocking off everything that's loose. Then take new pictures so it's clear. The frame must be attached to the wall no matter what, not with duct tape and not with plaster....🤔👍