Small spots on my penis

every once in awhile i get small dark spots on my penis after sex. i went to the doctor and she said it was bruising. any ideas? it doesnt look normal to me! it does go away for awhile.

image