1. r-regular graph

Dear friend,
I am stuck to solve this problem:

Proof that if G is a r-regular graph on p vertices then either r is even or p is even.