Realme doesn’t have a model called the “Realme P3”. There’s a chance you’re misremembering the model name or there’s a regional variation. Realme’s naming conventions vary by region.
To find out how many Android/OS updates a specific Realme phone is supposed to receive, you need to check the official Realme website for that particular phone model. Look for its support page or specifications. Realme’s software update policies aren’t consistently advertised across all models and often vary based on the phone’s original launch date and market.