No, this medication does not work against piles. Piles are a disorder that causes swelling and inflammation in the anal area and lumps and tears.