You can delete the 1099-R forms you may have entered.
Try again to delete Form 5329 again if it still exists
Reenter the 1099-R
Did you take a distribution that is subject to a penalty or contribute too must to a retirement plan?
Do you know why Form 5329 was generated?