For wheelies with mass distribution at default, you have to use your front brake and lean forwards followed by a quick snap back and gas. Another way is to go into suspension settings and change your rider mass distribution, if you change it it makes it much easier to wheelie simply by leaning back.
For stoppies you can change your front brake torque to a higher level, which gives higher responsiveness. I wouldn't recommend an extremely high level for racing though.