Continue writing the next sentence.

How to understand why your boyfriend acts differently when he is with his mates
Voice your concerns.
If you're upset when he and his mates ignore you or goof off, let him know. Wait until you're alone to avoid embarrassing him.
Say exactly what's on your mind in a calm, rational manner. Keep the conversation in the first person as much as possible.