Views on talking to the opposite sex while married?

I am 15 , but was wondering when I do get married . Is it ok to still talk to some of my female friends or would I have to talk to mainly only my male friends.

When I say talk to , not like on the phone with them . Though is it ok to just hang out with them in places outside of the workplace .
8 answers 8