There is no point in getting a hair transplant if you have not dealt with the cause of your hair loss. This cause is presumably male pattern baldness, to solve this you need to reduce the amount of DHT in your system since this is what causes your hair follicles to shrink and ultimately die. I guess minoxidil type stuff can also work since it increases blood flow to the regions you apply it to which can help prevent hair follicle death (I think).
However if you do not deal with the cause then you will continue to suffer from hair loss around the region where you had the transplant since the native hairs in that region will still be of the type susceptible to enshrinkulation from DHT. I believe most hair transplant places recommend the use of finasteride to prevent the formation of DHT.
Course goin ahead with transition tends to also deal with the DHT.
PS This is just personal research, I have no qualifications or professional knowledge.
@Telyna, I believe you have to continue use or you will lose your gains. Besides it sounds to me like you have only lost your vellus hairs so far which really is not so much a gain... Why would you want to now stop using it? Far as I am aware finasteride is the best anti hair loss drug commonly used. If your serious about keeping your hair or if really lucky regaining some I would research that some more. I have been using it for a month now almost and I think it works. However it takes months to have a real affect, I am using it pre-emptively, since I cannot bear to allow my hairline to get any worse.