ex boyfriend

is it bad to be friends with my ex when i have a boyfriend?