In Spanish, the adjective "mejor" (meaning "better") must be placed before the noun it modifies. So, in this case, "mejor" comes before "amigo" to mean "my best friend".