Dude. Don’t use anything at this point. Based on these pictures, you have a completely normal hairline. Almost no one keeps a juvenile hairline into adulthood; the hairline will naturally move upward and produce what is called a mature hairline. What you’re seeing here is the start of that process.
These aren’t the kind of medications you want to use or take anything if you don’t absolutely need to. See a doctor if you need present reassurance, but otherwise take pics of the hairline/crown/temples every 3-6 months and compare. If you start shedding like a mad man (150+ every day for weeks), or see obvious thinning past where it is now, then go see a doctor and he’ll help you figure out your options.