but when the engine gets HOT, It pumps very little gas and the engine runs rough and stalls?

I let the motor cool off for 20 minutes it pumps Ok again???
I can tell by looking at the see-thru in line fuel filter, that Im not getting any or little gas to the carb.
Any suggestions are helpful.