@billyjones Meet your pre-med adviser and/or check their web site. Most colleges, have a doc which will clearly spell out exact courses numbers you need to take. Also will have a doc which spells out what is that college course number for any AP credit. So it is important to note which specific Physics or any other courses you should do to meet the pre-med reqs.
In addition if you are so specific about any MD college, their web site will spell out whether AP credit is accepted or not. But things change every year and hard to predict where you will end up doing MD. So follow the guardrail rules as stated by above posts. Complete your college pre-med reqs + do some higher level courses if you are skipping any course due to AP credit.