Can I take legal action

My ex-boyfriend put naked pictures of me online. Is there a way I can press chargers? We're both over 18.