Highway Code Rule 252
Parking on hills. If you park on a hill you should:
park close to the kerb and apply the handbrake firmly
select a forward gear and turn your steering wheel away from the kerb when facing uphill
select reverse gear and turn your steering wheel towards the kerb when facing downhill
use 'park' if your car has an automatic gearbox.

Test yourself on the Highway Code with practice questions.
Start practising