How to not be emotionally attached to men?

I want to be able to date without getting emotionally attached so early on in case it doesn’t work out. Any advice?
How to not be emotionally attached to men?
Post Opinion