With minoxidil you may get some regrowth in the hairline area.
I personally use Finasteride. Using it since 2005 and it’s worked well at maintaining my hair.
If you feel your hair is receding and thinning I would consider Finasteride.
Read up on the possible side effects that some people experience. Then decide if you want to use it.