Although every airline has a different policy, many airlines will allow you to cancel flight tickets within 24 hours and give you a refund, even if you've bought a non-refundable airline ticket. If you've bought an airline ticket and want to cancel it on the same day, you can do so easily via 'Manage my booking'.
https://tinyurl.com/4n2e2hmn