about how to use can in BBB

Sir will you give me information how I enable can1 in BeagleBone Black
and how I transmit and receive data using CAN protocol