Why would my husband take ecstasy?

Many people take ecstacy for many reasons.

You should read about ecstacy, starting with the wikipedia entry on ecstacy. Please don't just read government/anti-ecstacy websites.

After you've learned about ecstacy (MDMA), you should take to your husband about why he took / takes ecstacy, and try to have an open mind.