I can't change the speed of my dc motor

No idea, you've given us insufficient information.

Read the sticky thread about how to post and provide the necessary please :slight_smile: