Your RPO is set by the gap between your data and its most recent durable copy. Take backups every 24 hours and your worst case loses 24 hours of changes, so your RPO is 24 hours. Shrink the RPO by copying data more often.
Three mechanisms cover the range. Periodic backups (a nightly dump to S3) give RPOs measured in hours. Continuous log shipping, where the database streams its write-ahead log to another location every few seconds, gives RPOs of seconds to a minute. Synchronous replication, where a write is not acknowledged to the client until a second node has it on disk, gives an RPO of zero because no acknowledged write can be lost.
There is a cost ladder. Synchronous replication across regions adds tens of milliseconds to every write because the primary waits for the remote node. Asynchronous replication is fast but leaves a small window of in-flight data that can vanish if the primary dies before the replica catches up. That replication lag is, in practice, your RPO.