Clomid

Why would my doctor prescribe me clomid if I’m ovulating?