Unsure...

This is for my friend, but she thinks that she may be pregnant, but she had her period. She had a donut today and threw it up but she isn't sick and now she feels fine. Is it possible she could be pregnant even though she had her period.