Unfortunately, you can't. Downgrading from firmware 6.31 to 5.03 isn't possible on a PSP 3000.
The hardware and firmware protections on that model prevent it, so if you're on 6.31, you'll need to work within what that version allows rather than rolling back to an earlier one.