the temperature outside makes a huge difference on ur a/c. if u live in a hot place, test ur a/c at night time, if it works fine at night, u probably just need some more freon.
did u notice the temperature outside when it works and when it doesnt work?