Make sure plughole is correctly fitted, trap should screw directly onto this ensure rubber seals are present within trap, tighten in hand tight then another half turn with water pliers
First you buy the plumbing trap. Then you follow the directions on the trap and put it in the drain. It should effectively trap the hair so the drain will not clog up anymore.
Bath-tub's trap is usually roughed-in BEFORE the tub is installed.
After a bath-tub is installed,
you would need to either cut a hole in the wall, or under the trap.