What happens if I have a capital gain?