Headlights

I have a set of projector headlight lenses that came with 9007 bulbs. The kit had the adapters but do i need to change the relay because when i go down the road for more then about five ten minutes with them on they start cutting on and off and when i cut them off and back on it takes another few minutes before they start messing up again. if you grind the stock 9004 and take off the adapters they fit so thats what im trying now but if anyone has any experience or answers let me know