Blood came out in stead of spearm?

Pain? Painless hematospermia is usually self limiting. If it persists it should be evaluated by a urologist. If you have pain with ejaculation it may be related to prostate inflammation. In any case you should see your doctor to be on the safe side, particularly to make sure there is no infection or other problems.