For the rotation: Pay attention to superiors. Try and learn from their examples. Read up on your patients and their conditions. Know them front to back (as you should have maybe 2-3 of them on inpatient).
For family medicine rotation (I'm assuming that is primarily outpatient) - FOCUSED history (no need for a FULL ROS, just make sure they don't have CP/SOB and move on). FOCUSED physical. THOROUGH oral presentation (with pertinent positives and negatives, plus all exam findings, including normal ones [regular rate and rhythm, clear to ausculation b/l, abd. soft and non tender, no edema, palpable pulses b/l]). For your FIRST rotation, they will want a good H&P, and whatever semblance of an assessment and plan you can come up with. Especially on outpatient (where you will see a lot of the same things) make sure you remember the A&P for a condition if you've already seen it before.
For the FM Shelf - Case Files + AAFP + Amb. SUTM. People have also said Swanson's family medicine is good, although it was a massive book. I can't give advice for FM without having any other shelves (as I just took it at the end of M3), but people said it was a very difficult shelf at the beginning of the year. Much easier (at least it seemed for me) at the end of M3.
Don't be afraid to ask questions (if you don't know the answer). If you think you could easily look it up, then do so. One of the most helpful things on my first rotation (which was IM) was my senior asked me that if I didn't know an acronym, to write it down and bring him a list, which he then went through with me.
Know the following:
RRR, no M/R/G
CTABL, no W/R/R
BS, NT, no C/C/E
Palp DP/PT 2+ B/L
TTP RUQ/RLQ/LUQ/LLQ
BRBPR
CP, SOB
There were many more that I eventually got around to learning
Get a UWorld prescription. Besides family medicine (which didn't have a lot of internal medicine questions) and maybe neuro (as I haven't had neuro yet) it's a great resource for nearly every other rotation.
Surgery - Pestana audio/notes + UWorld +/- NMS Casebook +/- Case Files +/- Pretest. I used Pestana + UWorld + 1/5 of NMS and high-passed comfortably.