British nationals do not require a visa to enter Costa Rica for up to 90 days. Your passport should have at least one day’s validity from the date you are leaving Costa Rica. You must be able to produce evidence of a return or onward travel on arrival.
There is a departure tax, which is usually included in the airfare. Check with your airline to confirm this.