Eat properly, including enough protein and iron. Treat a measured vitamin D deficiency. Manage stress where you can, because telogen effluvium after a hard year is real, and it is not the same as pattern loss. Be gentle with wet hair. Avoid tight styles that pull the fringe or the crown for years at a time.
These habits support the hair you have. They do not block DHT at the follicle, which is what drives male pattern loss. Oils, biotin gummies and scalp massage are not a plan for a receding hairline.
If the pattern is progressing, talk to a doctor about proven medicine, and talk to a hair restoration clinic only when you want to know whether surgery is suitable. The consultation will say if it is not.