This is male pattern baldness also known as Androgenetic Alopecia. You are a combination of your parents genes, not necessary that you will get a hair growth pattern exactly like your father- hence this has started sooner for you than it did for him.
Lifestyle contributes to some extent, but only lifestyle correction will not reverse this once it is triggered
Next Steps
Minoxidil solution must be applied in the right quantity and strength- maybe one of these parameters is incorrect and that could be why you haven’t seen results.
Minoxidil solution has to be applied LIFE LONG (or as long as you’d like that crop of hair on your head).
You might also need oral DHT blockers/ other oral meds to boost the growth.
Health Tips
You have a good head on your shoulders, make sure there’s good hair on that head too. Consult a dermatologist timely.