The PT test is also used to monitor the condition of patients who are taking warfarin (Coumadin). Warfarin is a drug that is given to prevent clots in the deep veins of the legs and to treat pulmonary embolism.