Know the reference pitch and power for the flight path you want. Set that. The FD will bounce around and eventually stabilise where you’ve put the airplane. The FD is there for guidance, you don’t have to follow it if it’s giving you nonsense. Turn it off in that case.