How would I know she talks to other guys or not?

In the start of our relationship i asked my girl not to talk to other men but i think she does but I’m confused should i directly ask her this I don't know if she will tell the truth or not or should i check her phone instead.
How would I know she talks to other guys or not?
Post Opinion