You can rub the burned skin area with aloe vera, which should sooth the burning sensation. Taking a lukewarm shower can also ease the pain. You can also take aspirin to alleviate the pain more generally.
Go to your local pharmacy and buy some normal lotion for dry skin, in addition they sell ointment for sunburns although they are pretty much the same thing. Mustard works wonders if you've got some privacy.
To relieve sunburn pain, you can try aloe gel. Apply a thin layer every few hours. You can also use tea bags that you've soaked in hot water AND THEN LET COOL. Run the cool tea bags over burned area.