Read the docs - React Native in general has good docs and the native module guides are especially well done in my opinion.
IOS - https://facebook.github.io/react-native/docs/native-modules-...
Android - https://facebook.github.io/react-native/docs/native-modules-...