can you really be friends???

Mary
Can you be friends with a  regular ex boyfriend??? & or be friends with the ex bf who gave you a std?? Such say HPV?? 
Just wondering y'all thoughts and advice.. no mean comments please!!!!