It appears you have male pattern hair loss. The main cause of this is high DHT (dihydrotestosterone) levels, a type of male hormone. Oral finasteride helps to reduce the amount of DHT. Other options include minoxidil and hair supplements such as viviscal.
However these may not reverse your hair loss completely if it is advanced or rapidly progressing, although they will help to slow down the progression. Hair transplant is an option to restore the front hairline. These medications do come with some side effects and it is best to speak to your doctor to understand these better.