Just have a little patience - it will go away. There are defoamers, but I wouldn't throw anything in the pool that you don't have to. This can happen when too much algacide is in the pool.