You might be thinking of a bright star that happens to be near the moon at a specific time. To identify the specific star, you'll need to tell me:
* When you saw this star near the moon (date and time).
* Where you were located (country or city).
With that information, I can use an astronomy app or website to identify the star for you.