This needs to be examined by a veterinarian. It could be a cyst, abscess, foreign body (like a piece of a stick or grass awn), wounds, or tumor. A fine needle aspirate should be performed (a small needle is inserted into the mass to collect cells for examination under the microscope) to identify this lesion. Once it is identified appropriate treatment can be started. It may need to be surgically explored or removed.