Removing WD40 from disk brakes - possible?
You should get rid of the pads and buy new ones. You can clean the disc with cleaning alcohol or brake cleaner. Just be sure to also clean all holes from the inside as there might be some oil left.

Afterwards bed in the new brake pads and you are good to go.