well if its your dogs sperm then this question is ok. you should just wash it out with regular dog shampoo you can get at any pet store.

but if this is human sperm, you can wash it out the same way but to prevent this from happening again call the cops and report who ever is nutting on your dog because that is messed up and is a felony.