(if your a guy)
The girl your having an affair with must be aware of the fact that you already have a girlfriend.
If niether girl knows about each other you will get busted.