What would happen to p and q

Solution-Have you heard about synthetic biology
April 30, 2020
Information about a potential mate
April 30, 2020

What would happen to p and q

Suppose the environment in which a population was living changed in some way and the new conditions were much more harmful to homozygous dominant individuals and to heterozygotes than to homozygous recessive? What would happen to p and q as the years went by? If this selective pressure against homozygous dominants and heterozygotes suddenly ceased and no other factors changed, what would happen to p and q?