If associated with pain it may be fungal infection otherwise may be wax with injury while cleaning ears
Next Steps
Need to examine the ears as well detailed history consult online or nearby ENT specialist
Health Tips
keep ears dry
Avoid using ear buds
Clean the outer part of ear gently with clean cotton