PLEASE HELP!

This guy at my school is really nice and funny. We have been talking to each other for a while and we both like each other, sounds great right.

Well then I found out that my cousin had a child with his cousin.

Does that mean we are related? Also is it okay for us to date?