Hint 1
If the man wants to indicate the order in which he needs to take his pills, he just needs to write a number on each of the 10 pills.
While that's true, the bare minimum of numbers he needs to write is fewer than 10. Think about how he can accomplish this.

