how to calculate the right ascension and declination of the moon

Hi,everyone
I am a beginner and I would like to know how to calculate the right ascension and declination of the moon using orekit

Hi @iswangby welcome

You need to set up a TopocentricFrame that represents your observation point and set up a CelestialBody representing the moon.
Then you can compute the coordinates of the Moon in the topocentric frame. You will also need an inertial frame like EME2000 to find the 3D rotation between the topocentric frame and the inertial frame, from which you can deduce the right ascension and ascending node.

I suggest you look at the various tutorials