Door rubbing at the top corner? It's usually sagging on its hinges. One longer screw often pulls it right back.
Difficulty: Easy. Plan on 10 min.
Affiliate links: As an Amazon Associate I earn from qualifying purchases. Buying through these links costs you nothing extra. Prices and availability are shown on the store's site, and you can buy these anywhere.
Tighten every hinge screw on the door and the frame.
On the top hinge, remove one screw from the frame side.
Drive a 3-inch screw into that hole so it reaches the framing behind the jamb.
Snug it down and check whether the door now clears.
Nice work. Ready for the next step up? The Fix Ladder guide for this problem covers what to do if it comes back or goes further.