Actress Olivia Wilde says she self-medicated with food after her split from Italian prince Tao Ruspoli.